summaryrefslogtreecommitdiffstats
path: root/extra/fontconfig/Pkgfile
blob: c9f87121e69aa643daf95a7f0003be18e575874f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Description: Librairie pour l'accès et la configuration des polices
# URL: http://fontconfig.org/wiki/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: freetype, libxml2

name=fontconfig
version=2.7.0
release=1
source=( http://fontconfig.org/release/$name-$version.tar.gz)


build() {
	cd $name-$version
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
                --sysconfdir=/etc \
                --localstatedir=/var \
                --without-add-fonts \
                --disable-docs
	make
	make DESTDIR=$PKG install
        mkdir -p $PKG/usr/share/man/man{3,5}
        install -v -m644 doc/*.3 $PKG/usr/share/man/man3
        install -v -m644 doc/*.5 $PKG/usr/share/man/man5
}