summaryrefslogtreecommitdiff
path: root/testing/fontforge
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-15 23:15:01 +0000
committerroot <root@rshg054.dnsready.net>2011-12-15 23:15:01 +0000
commitac25f0b5aaf7aff394a8df695be995ec8463e264 (patch)
tree040d788c6c53b1f114363d01336bafa980a942ee /testing/fontforge
parentf96b67a7733c348213a216ba6472d43614b44f04 (diff)
Thu Dec 15 23:15:01 UTC 2011
Diffstat (limited to 'testing/fontforge')
-rw-r--r--testing/fontforge/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/fontforge/PKGBUILD b/testing/fontforge/PKGBUILD
new file mode 100644
index 000000000..91f7527d4
--- /dev/null
+++ b/testing/fontforge/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 145014 2011-12-14 10:50:55Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=fontforge
+pkgver=20111214
+pkgrel=1
+pkgdesc='Outline and bitmap font editor'
+arch=('i686' 'x86_64')
+url='http://fontforge.sourceforge.net/'
+license=('BSD')
+depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libtiff' 'python2')
+options=('!libtool' '!makeflags')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('55c3f00c0b486492ba071fc479e1feb426562e2b')
+
+# git clone git://fontforge.git.sourceforge.net/gitroot/fontforge/fontforge; cd fontforge; git archive --prefix=${pkgname}-${pkgver}/ master | xz > ../${pkgname}-${pkgver}.tar.xz
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/python /python2 /g' Makefile.dynamic.in
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-type3 \
+ --enable-devicetables \
+ --with-regular-link \
+ --with-python=python2 \
+ --enable-pyextension \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}