desktop/perl-exiftool/PKGBUILD

32 lines
913 B
Bash
Raw Normal View History

# Maintainer: Ernesto Manriquez <alejandronova@gmail.com>
2011-01-26 07:35:56 +08:00
pkgname=perl-exiftool
_srcname=Image-ExifTool
2013-12-17 00:04:17 +08:00
pkgver=9.44
pkgrel=1
2011-01-26 07:35:56 +08:00
license=('GPL')
pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
url="http://www.sno.phy.queensu.ca/~phil/exiftool/"
2013-12-17 00:04:17 +08:00
arch=('x86_64')
2011-01-26 07:35:56 +08:00
depends=('perl')
optdepends=('perl-archive-zip: decode compressed zip information')
2011-01-26 07:35:56 +08:00
source=(http://www.sno.phy.queensu.ca/~phil/exiftool/${_srcname}-${pkgver}.tar.gz)
options=(!emptydirs)
md5sums=('c61f8f79c8e9f375e5be1ca0d13cc5fa')
2011-04-03 18:43:03 +08:00
2011-01-26 07:35:56 +08:00
build() {
cd ${srcdir}/${_srcname}-${pkgver}
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd ${srcdir}/${_srcname}-${pkgver}
make DESTDIR=${pkgdir} install
2011-01-26 07:35:56 +08:00
# remove *.pod, .packlist, and empty dirs:
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
}
2013-12-17 00:04:17 +08:00
md5sums=('9c9c001a048a2c24c68c9b6f1044e89d')