PKGBUILDs/extra/perl-exiftool/PKGBUILD
2009-10-18 23:18:41 -05:00

27 lines
876 B
Bash

# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
# Contributor: Firmicus <francois.archlinux.org>
pkgname=perl-exiftool
_srcname=Image-ExifTool
pkgver=7.89
pkgrel=1
license=('GPL2')
pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
url="http://www.sno.phy.queensu.ca/~phil/exiftool/"
arch=(any)
depends=('perl>=5.10')
source=(http://www.sno.phy.queensu.ca/~phil/exiftool/${_srcname}-${pkgver}.tar.gz)
md5sums=('8bdf8ebebd95bdef6eae03e9bfa33cdd')
options=(!emptydirs)
build() {
cd ${srcdir}/${_srcname}-${pkgver}
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
# remove *.pod, .packlist, and empty dirs:
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
}