xorg-fontconfig

This commit is contained in:
milisbir 2018-05-06 20:55:13 +03:00
parent 97f146f5c0
commit c9e76eccf8
1 changed files with 10 additions and 18 deletions

View File

@ -2,7 +2,7 @@
# URL: http://xorg-fontconfig.org/wiki/
# Paketçi: milisarge
# Gerekler: freetype expat libpng
# Grup:
# Grup: kütüphane
_isim=fontconfig
isim=xorg-fontconfig
@ -11,21 +11,13 @@ devir=1
kaynak=( http://fontconfig.org/release/${_isim}-$surum.tar.gz)
derle() {
cd ${_isim}-$surum
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/share/doc/$isim-$surum \
--disable-docs --disable-static
make
make DESTDIR=$PKG install
install -v -dm755 \
$PKG/usr/share/{man/man{1,3,5},doc/fontconfig-$surum/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/${_isim}-$surum/fontconfig-devel
install -v -m644 doc/*.{pdf,sgml,txt,html} \
$PKG/usr/share/doc/${_isim}-$surum
cd ${_isim}-$surum
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/share/doc/$isim-$surum \
--disable-docs --disable-static
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
}