2015-07-30 13:18:49 +10:00
|
|
|
# Description: Outline and bitmap font editor.
|
2017-01-26 19:20:06 +11:00
|
|
|
# URL: https://fontforge.github.io/
|
2015-07-30 13:18:49 +10:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Antti Nykanen, aon at iki dot fi
|
2015-10-22 21:50:10 +11:00
|
|
|
# Depends on: giflib git libspiro libtiff pango
|
2015-07-30 13:18:49 +10:00
|
|
|
|
|
|
|
name=fontforge
|
2017-08-11 16:33:07 +10:00
|
|
|
version=20170731
|
2015-07-30 14:59:22 +10:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/fontforge/fontforge/archive/$version.tar.gz
|
2017-01-26 19:20:06 +11:00
|
|
|
https://fontforge.github.io/cidmaps.tgz)
|
2015-07-30 13:18:49 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2015-07-30 14:59:22 +10:00
|
|
|
./bootstrap --force
|
2015-07-30 13:18:49 +10:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2015-07-30 14:59:22 +10:00
|
|
|
--enable-python-extension
|
2015-07-30 13:18:49 +10:00
|
|
|
|
|
|
|
make
|
|
|
|
make install DESTDIR=$PKG
|
|
|
|
|
2015-07-30 14:59:22 +10:00
|
|
|
install -d $PKG/usr/share/fontforge
|
|
|
|
install -m 0644 -t $PKG/usr/share/fontforge $SRC/Adobe-*
|
|
|
|
|
|
|
|
install -d $PKG/usr/share/icons
|
|
|
|
cp -a desktop/icons $PKG/usr/share/icons/hicolor
|
|
|
|
rm -fr $PKG/usr/share/icons/hicolor/src
|
|
|
|
|
|
|
|
install -m 0644 -D desktop/fontforge.desktop \
|
|
|
|
$PKG/usr/share/applications/fontforge.desktop
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/{doc,locale}
|
2018-01-31 20:11:59 +11:00
|
|
|
rm $PKG/usr/share/fontforge/python/gdraw/README
|
2015-07-30 13:18:49 +10:00
|
|
|
}
|