1 # Maintainer: Alexandre Leray <alex @ stdin dot fr>
2 # Contributor: franzrogar <franzrogar at gmail dot com>
3 # David Gowers <00ai99 at gmail dot com>
7 pkgdesc="An outline and bitmap font editor"
9 url="http://www.fontforge.org"
11 depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libpng' 'libtiff' 'libjpeg' 'python2' 'pango')
12 options=('!libtool' '!makeflags')
14 optdepends=('libspiro: bezier curves support')
15 conflicts=('fontforge' 'fontforge-cvs')
16 provides=('fontforge-git')
18 _gitroot="git://fontforge.git.sourceforge.net/gitroot/fontforge/fontforge"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
41 --mandir=/usr/share/man \
44 --enable-devicetables \
46 --with-python=python2 \
52 cd "${srcdir}/fontforge-build"
53 make -j1 DESTDIR="${pkgdir}" install
54 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"