Merge pull request #507 from oltulu/patch-292

Update talimat
This commit is contained in:
Milli İşletim Sistemi (Milis Linux) 2018-04-03 23:33:34 +03:00 committed by GitHub
commit 13870f9db3
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
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"
}