PKGBUILDs/extra/perl-exiftool/PKGBUILD

28 lines
876 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# 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)
2009-10-19 04:18:41 +00:00
md5sums=('8bdf8ebebd95bdef6eae03e9bfa33cdd')
2009-10-10 02:23:22 +00:00
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
}