opt/fontconfig/Pkgfile
John Vogel b002a07069 fontconfig: reinstate manual pages
Now that manual pages are under usr/share/man not usr/man,
only remove the unnecessary usr/share/doc directory.
2017-10-05 09:53:30 +02:00

31 lines
819 B
Plaintext

# Description: A library for configuring and customizing font access
# URL: https://www.freedesktop.org/wiki/Software/fontconfig/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: freetype expat
name=fontconfig
version=2.12.6
release=2
source=(https://fontconfig.org/release/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xmldir=/etc/fonts \
--with-templatedir=/etc/fonts/conf.avail
make
make DESTDIR=$PKG install
# Enabling autohinting by default
pushd $PKG/etc/fonts/conf.d
ln -sf /etc/fonts/conf.avail/10-autohint.conf
popd
rm -f $PKG/etc/fonts/conf.d/README
rm -r $PKG/usr/share/doc
}