aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-06-19 21:18:33 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2020-06-19 22:39:30 +0200
commitd136fa314a9e040e08916816a1487497c45f1cf8 (patch)
tree8b5b159e623cb5c8757d90280b76adcf700c8461
parent8ed41456687a3295647fcb0b9aca7ef0a4713193 (diff)
downloadaports-d136fa314a9e040e08916816a1487497c45f1cf8.tar.gz
aports-d136fa314a9e040e08916816a1487497c45f1cf8.tar.bz2
aports-d136fa314a9e040e08916816a1487497c45f1cf8.tar.xz
main/fontconfig: add -doc subpackage
-rw-r--r--main/fontconfig/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/fontconfig/APKBUILD b/main/fontconfig/APKBUILD
index 49ed281062..01f7fa4142 100644
--- a/main/fontconfig/APKBUILD
+++ b/main/fontconfig/APKBUILD
@@ -2,17 +2,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fontconfig
pkgver=2.13.1
-pkgrel=2
+pkgrel=3
pkgdesc="Library for configuring and customizing font access"
url="https://www.freedesktop.org/wiki/Software/fontconfig"
arch="all"
license="MIT"
-makedepends="freetype-dev expat-dev python3-dev gperf util-linux-dev"
+makedepends="freetype-dev expat-dev python3-dev gperf util-linux-dev docbook2x"
triggers="$pkgname.trigger=/usr/share/fonts/*"
-subpackages="$pkgname-static $pkgname-dev"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://www.freedesktop.org/software/fontconfig/release/fontconfig-$pkgver.tar.gz"
-replaces="fontconfig-doc" # Package removed as license is no longer provided
+# For generation of man pages
+export DOC2MAN=docbook2x-man
build() {
cd "$builddir"
@@ -26,8 +27,8 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static \
- --disable-nls \
- --disable-docs
+ --enable-docs \
+ --disable-nls
rm -f src/fcobjhash.h
make
}