Update talimat

This commit is contained in:
MEBis 2018-03-12 19:32:08 +03:00 committed by GitHub
parent bb0888702f
commit b94aea1f5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 11 deletions

View File

@ -4,19 +4,25 @@
# Gerekler: xorg-libxi libxml2 pango giflib libtiff
isim=fontforge
surum=2.0.20150612
devir=2
kaynak=(https://github.com/$isim/$isim/releases/download/20150612/fontforge-20150612.tar.gz)
surum=20170731
devir=1
kaynak=(https://github.com/fontforge/fontforge/archive/${surum}.tar.gz
https://fontforge.github.io/cidmaps.tgz)
derle() {
cd $isim*
rm -rf libltdl
rm m4/argz.m4
./bootstrap
./configure --prefix=/usr \
--disable-static \
--enable-gtk2-use \
--docdir=/usr/share/doc/fontforge-$surum
make
export LIBZMQ_LIBS=-lzmq
./bootstrap --force
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-python-extension \
make
make DESTDIR=$PKG install
install -d "${PKG}/usr/share/fontforge"
install -m644 ../Adobe-* "${PKG}/usr/share/fontforge"
install -Dm644 LICENSE "${PKG}/usr/share/licenses/${isim}/LICENSE"
install -Dm644 desktop/fontforge.desktop "${PKG}/usr/share/applications/fontforge.desktop"
}