opt/fontconfig/Pkgfile

32 lines
851 B
Plaintext
Raw Normal View History

2006-03-12 11:46:27 +01:00
# 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
2006-03-12 11:46:27 +01:00
name=fontconfig
2018-08-30 20:26:18 +02:00
version=2.13.1
2018-03-07 22:16:30 +01:00
release=1
2017-07-29 14:47:09 +02:00
source=(https://fontconfig.org/release/$name-$version.tar.bz2)
2006-03-12 11:46:27 +01:00
build() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xmldir=/etc/fonts \
--with-templatedir=/etc/fonts/conf.avail
2006-03-12 11:46:27 +01:00
make
make DESTDIR=$PKG install
# Enabling autohinting by default
pushd $PKG/etc/fonts/conf.d
2012-07-17 10:45:45 +02:00
ln -sf /etc/fonts/conf.avail/10-autohint.conf
popd
2008-06-04 15:07:34 +02:00
rm -f $PKG/etc/fonts/conf.d/README
rm -r $PKG/usr/share/doc
2018-03-07 22:16:30 +01:00
rm -r $PKG/usr/share/locale
2006-03-12 11:46:27 +01:00
}