aboutsummaryrefslogtreecommitdiffstats
path: root/main/fontconfig/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/fontconfig/APKBUILD')
-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
}