summaryrefslogtreecommitdiffstats
path: root/abs/core/libart-lgpl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libart-lgpl/PKGBUILD')
-rw-r--r--abs/core/libart-lgpl/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/abs/core/libart-lgpl/PKGBUILD b/abs/core/libart-lgpl/PKGBUILD
index 92d659f..de97c2b 100644
--- a/abs/core/libart-lgpl/PKGBUILD
+++ b/abs/core/libart-lgpl/PKGBUILD
@@ -1,20 +1,24 @@
-# $Id$
+# $Id: PKGBUILD 150419 2012-02-17 12:52:28Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
+
pkgname=libart-lgpl
pkgver=2.3.21
-pkgrel=1
+pkgrel=2
pkgdesc="A library for high-performance 2D graphics"
url="http://www.levien.com/libart/"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('LGPL')
-depends=('glibc')
source=(http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-${pkgver}.tar.bz2)
options=('!libtool')
sha256sums=('fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa')
build() {
- cd ${startdir}/src/libart_lgpl-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ cd "${srcdir}/libart_lgpl-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/libart_lgpl-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}