opt/fontconfig/Pkgfile
Danny Rawlins 2407bf8eff [notify] fontconfig: 2.11.0 -> 2.11.1
Due to the fact that fontconfig.pc has a error in it at least xorg-font-bh-ttf needs to be rebuilt to include missing files, their may be other affected font ports.
http://cgit.freedesktop.org/fontconfig/commit/?id=320283cd70ae31ce46b03e0c5da55412089ce953
2014-03-30 23:07:32 +11:00

33 lines
856 B
Plaintext

# Description: A library for configuring and customizing font access
# URL: http://fontconfig.org/wiki/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: freetype, expat
name=fontconfig
version=2.11.1
release=1
source=(http://fontconfig.org/release/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/man \
--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
}