summaryrefslogtreecommitdiff
path: root/extra/exempi
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-24 23:15:21 +0000
committerroot <root@rshg054.dnsready.net>2012-02-24 23:15:21 +0000
commit299e917c17619f800f0c21cf43209065b608223f (patch)
treee175a7bbdb5d933670f10b09f1cc52ece45ced87 /extra/exempi
parentd466ef49f224a9347fe0375eac8126725e10a0a4 (diff)
Fri Feb 24 23:15:21 UTC 2012
Diffstat (limited to 'extra/exempi')
-rw-r--r--extra/exempi/PKGBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/extra/exempi/PKGBUILD b/extra/exempi/PKGBUILD
index 0f385c8be..d399218d4 100644
--- a/extra/exempi/PKGBUILD
+++ b/extra/exempi/PKGBUILD
@@ -1,24 +1,28 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: André Klitzing <aklitzing@online.de>
pkgname=exempi
-pkgver=2.1.1
+pkgver=2.2.0
pkgrel=1
pkgdesc="A library to parse XMP metadata"
arch=(i686 x86_64)
url="http://libopenraw.freedesktop.org/wiki/Exempi"
license=('custom:BSD')
-depends=('gcc-libs>=4.4.2' 'expat>=2.0.1' 'zlib')
-makedepends=('boost>=1.36.0')
+depends=('gcc-libs' 'expat' 'zlib')
+makedepends=('boost')
options=(!libtool)
-source=(http://libopenraw.freedesktop.org/download/${pkgname}-${pkgver}.tar.gz)
-md5sums=('62ecb5a01387b9f940a5429b3df67e65')
+source=(http://libopenraw.freedesktop.org/download/$pkgname-$pkgver.tar.bz2)
+md5sums=('f46d96975613593ee17aaf48cd350228')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 "${srcdir}/${pkgname}-${pkgver}/COPYING" \
- "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ install -m644 "$srcdir/$pkgname-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname"
}