Commit 11d5bd59 authored by Sören Tempel's avatar Sören Tempel

main/fontconfig: add -doc subpackage

parent c79085e5
Pipeline #23343 failed with stages
in 9 minutes and 14 seconds
......@@ -2,17 +2,17 @@
# 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
export DOC2MAN=docbook2x-man
build() {
cd "$builddir"
......@@ -26,8 +26,8 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static \
--disable-nls \
--disable-docs
--enable-docs \
--disable-nls
rm -f src/fcobjhash.h
make
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment