2011-01-26 07:35:56 +08:00
|
|
|
pkgname=perl-exiftool
|
|
|
|
_srcname=Image-ExifTool
|
2015-08-08 07:38:01 +08:00
|
|
|
pkgver=9.99
|
2013-12-17 00:04:17 +08:00
|
|
|
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')
|
2013-10-26 01:00:22 +08:00
|
|
|
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)
|
2015-08-08 07:38:01 +08:00
|
|
|
sha512sums=('1c3808cf0f5de563afc6061126addb54b4037efd6d88d3875cb4e17c3cbf8a3061248a38ac014b14260a530ad523e3d3dbe09f946f95008db71f1fad235d8dbd')
|
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.
|
2013-10-26 01:00:22 +08:00
|
|
|
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:05:21 +08:00
|
|
|
|