summaryrefslogtreecommitdiffstats
path: root/abs/extra/fontforge/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-03-12 21:29:19 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-03-12 21:29:19 (GMT)
commita719dcc0e56e59bd9a9f105096f78db96dce81dd (patch)
tree4bf0221874ab13aa2e40531d32965fb014186e71 /abs/extra/fontforge/PKGBUILD
parent7219eb2f85b5c61f6708f277b5756db0c9fdb627 (diff)
downloadlinhes_pkgbuild-a719dcc0e56e59bd9a9f105096f78db96dce81dd.zip
linhes_pkgbuild-a719dcc0e56e59bd9a9f105096f78db96dce81dd.tar.gz
linhes_pkgbuild-a719dcc0e56e59bd9a9f105096f78db96dce81dd.tar.bz2
fontforge: Initial inclusion. Dep of ttf-liberation
Diffstat (limited to 'abs/extra/fontforge/PKGBUILD')
-rw-r--r--abs/extra/fontforge/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra/fontforge/PKGBUILD b/abs/extra/fontforge/PKGBUILD
new file mode 100644
index 0000000..ff53b21
--- /dev/null
+++ b/abs/extra/fontforge/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=fontforge
+pkgver=20120119
+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' 'libspiro')
+options=('!libtool' '!makeflags')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('2c363af075e77bf35d21ee1939e3d6ab39a9f80c')
+
+# 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 \
+ --enable-double \
+ --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"
+}