summaryrefslogtreecommitdiff
path: root/extra/exiv2/PKGBUILD
blob: b1bf53dcf47c20fa2823f0787ff53006db32dd53 (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
26
#$Id: PKGBUILD 128049 2011-06-21 07:56:57Z eric $
# Maintainer: tobias <tobias@arhlinux.org>

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

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

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