updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / fontforge-double / PKGBUILD
blobbd588bafef2f34b2019d839ec57bd644c27c4f1a
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
7 pkgver=20111214
8 pkgrel=2
9 pkgdesc='Outline and bitmap font editor'
10 arch=('i686' 'x86_64')
11 url='http://fontforge.sourceforge.net/'
12 license=('BSD')
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
22 build() {
23         cd "${srcdir}/fontforge-${pkgver}"
24         sed -i 's/python /python2 /g' Makefile.dynamic.in
25         ./configure \
26           --prefix=/usr \
27           --mandir=/usr/share/man \
28           --enable-type3 \
29           --enable-double \
30           --enable-devicetables \
31           --with-regular-link \
32           --with-python=python2 \
33           --enable-pyextension \
34           
35         make
38 package() {
39         cd "${srcdir}/fontforge-${pkgver}"
40         make DESTDIR="${pkgdir}" install
41         install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"