summaryrefslogtreecommitdiff
path: root/testing/exiv2/PKGBUILD
blob: 0d5a550d202c5a1a8618a0620ef3a0c41c0e925d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#$Id: PKGBUILD 164674 2012-08-02 15:21:12Z andrea $
# Maintainer: tobias <tobias@arhlinux.org>

pkgname=exiv2
pkgver=0.23
pkgrel=1
pkgdesc="Exif and Iptc metadata manipulation library and tools"
arch=('i686' 'x86_64')
url="http://exiv2.org"
license=('GPL')
depends=('gcc-libs' 'zlib' 'expat')
options=('!libtool')
source=("http://www.exiv2.org/${pkgname}-${pkgver}.tar.gz")
sha1sums=('5f342bf642477526f41add11d6ee7787cdcd639f')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  CPPFLAGS="-D_FILE_OFFSET_BITS=64" ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}