PKGBUILDs/extra/exempi/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
826 B
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: André Klitzing <aklitzing@online.de>
pkgname=exempi
pkgver=2.1.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.3.2' 'expat>=2.0.1' 'zlib')
makedepends=('boost>=1.36.0')
options=(!libtool)
source=(http://libopenraw.freedesktop.org/download/${pkgname}-${pkgver}.tar.gz)
md5sums=('30dfa5c394b4a3901c66f6e60e8b22e4')
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
}