# Maintainer: tobias # Contributor: Tobias Kieslich # Contributor: Firmicus 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 }