xorg-fontconfig eklendi

This commit is contained in:
dotw666 2017-01-30 17:29:43 +03:00
parent 96a9042043
commit 6d63ba2f0a
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Description: fontconfig, library for access and the configuration of polices
# URL: http://xorg-fontconfig.org/wiki/
# Packager: milisarge
# Depends on: freetype expat libpng
_name=fontconfig
name=xorg-fontconfig
version=2.11.1
release=1
source=( http://fontconfig.org/release/${_name}-$version.tar.gz)
build() {
cd ${_name}-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/share/doc/$name-$version \
--disable-docs --disable-static
make
make DESTDIR=$PKG install
install -v -dm755 \
$PKG/usr/share/{man/man{1,3,5},doc/fontconfig-$version/fontconfig-devel}
install -v -m644 fc-*/*.1 $PKG/usr/share/man/man1
install -v -m644 doc/*.3 $PKG/usr/share/man/man3
install -v -m644 doc/*.5 $PKG/usr/share/man/man5
install -v -m644 doc/fontconfig-devel/* \
$PKG/usr/share/doc/${_name}-$version/fontconfig-devel
install -v -m644 doc/*.{pdf,sgml,txt,html} \
$PKG/usr/share/doc/${_name}-$version
}