summaryrefslogtreecommitdiff
path: root/extra/graphite/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
commit1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (patch)
tree4f22b6f4f4737987b4eec85fbc027684f209df2e /extra/graphite/PKGBUILD
parent1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (diff)
Sun Sep 11 23:14:33 UTC 2011
Diffstat (limited to 'extra/graphite/PKGBUILD')
-rw-r--r--extra/graphite/PKGBUILD37
1 files changed, 14 insertions, 23 deletions
diff --git a/extra/graphite/PKGBUILD b/extra/graphite/PKGBUILD
index 622ab8eb0..9442d5ee0 100644
--- a/extra/graphite/PKGBUILD
+++ b/extra/graphite/PKGBUILD
@@ -1,39 +1,30 @@
-# $Id: PKGBUILD 51199 2009-09-05 20:11:42Z andyrtr $
+# $Id: PKGBUILD 137743 2011-09-10 14:59:36Z pierre $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
-# build twice that pango-graphite can pickup the new libgraphite dependency - take care when .so names happen!
-
pkgbase=graphite
pkgname=('libgraphite' 'pango-graphite')
pkgver=2.3.1
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://graphite.sil.org/"
makedepends=('pango' 'gcc-libs')
options=('!libtool' '!emptydirs')
-source=(http://downloads.sourceforge.net/project/silgraphite/silgraphite/${pkgver}/silgraphite-${pkgver}.tar.gz)
+source=("http://downloads.sourceforge.net/project/silgraphite/silgraphite/${pkgver}/silgraphite-${pkgver}.tar.gz")
md5sums=('d35724900f6a4105550293686688bbb3')
build() {
cd "${srcdir}/silgraphite-${pkgver}"
- pushd engine
- ./configure --prefix=/usr --disable-static
- make || return 1
- popd
-
- pushd wrappers/pangographite
./configure --prefix=/usr --disable-static
- make || return 1
- popd
+ make
}
package_libgraphite() {
- pkgdesc="SILGraphite - a \"smart font\" rendering engine - the libs and headers"
- license=('custom_SIL Dual license')
- depends=('gcc-libs')
+ pkgdesc='SILGraphite - a "smart font" rendering engine - the libs and headers'
+ license=('custom_SIL Dual license')
+ depends=('gcc-libs')
cd "${srcdir}/silgraphite-${pkgver}"/engine
- make DESTDIR="$pkgdir/" install || return 1
+ make DESTDIR="$pkgdir/" install
# licenses
mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}
@@ -41,11 +32,11 @@ package_libgraphite() {
}
package_pango-graphite() {
- pkgdesc="SILGraphite support for pango"
- license=('LGPL')
- depends=('pango' 'libgraphite')
- install=pango-graphite.install
+ pkgdesc="SILGraphite support for pango"
+ license=('LGPL')
+ depends=('pango' 'libgraphite')
+ install=pango-graphite.install
cd "${srcdir}/silgraphite-${pkgver}"/wrappers/pangographite
- make DESTDIR="$pkgdir/" install || return 1
-} \ No newline at end of file
+ make DESTDIR="$pkgdir/" install
+}