summaryrefslogtreecommitdiff
path: root/extra/exiv2/PKGBUILD
blob: 169dfd13806e0bcf0a54d447b40dac2df32196ed (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 139877 2011-10-05 19:06:34Z andrea $
# Maintainer: tobias <tobias@arhlinux.org>

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

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

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