# Tanım: Anahat ve bitmap yazı tipi düzenleyicisi
# URL: http://fontforge.sourceforge.net
# Paketçi: milisarge
# Gerekler: xorg-libxi libxml2 pango giflib libtiff python
# Grup: sistem tasarım

isim=fontforge
surum=20170731
devir=1
kaynak=(https://github.com/fontforge/fontforge/archive/${surum}.tar.gz
        https://fontforge.github.io/cidmaps.tgz)

derle() {
        cd $isim*
	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"
	rm -rf $PKG/usr/share/doc
}
