1 # $Id: PKGBUILD 145161 2011-12-18 12:09:19Z bisson $
2 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
3 # Contributor: Eric Belanger <eric@archlinux.org>
4 # Contributor: William Rea <sillywilly@gmail.com>
6 pkgname=fontforge-double
9 pkgdesc='Outline and bitmap font editor'
10 arch=('i686' 'x86_64')
11 url='http://fontforge.sourceforge.net/'
13 depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libtiff' 'python2' 'libspiro')
14 options=('!libtool' '!makeflags')
15 conflicts=('fontforge')
16 provides=('fontforge')
17 source=("ftp://ftp.archlinux.org/other/fontforge/fontforge-${pkgver}.tar.xz")
18 sha1sums=('55c3f00c0b486492ba071fc479e1feb426562e2b')
20 # git clone git://fontforge.git.sourceforge.net/gitroot/fontforge/fontforge; cd fontforge; git archive --prefix=${pkgname}-${pkgver}/ master | xz > ../${pkgname}-${pkgver}.tar.xz
23 cd "${srcdir}/fontforge-${pkgver}"
24 sed -i 's/python /python2 /g' Makefile.dynamic.in
27 --mandir=/usr/share/man \
30 --enable-devicetables \
32 --with-python=python2 \
33 --enable-pyextension \
39 cd "${srcdir}/fontforge-${pkgver}"
40 make DESTDIR="${pkgdir}" install
41 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"