PKGBUILDs/extra/perl-exiftool/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
930 B
Bash

# $Id: PKGBUILD 52086 2009-09-15 22:01:53Z francois $
# 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)
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
}
md5sums=('8bdf8ebebd95bdef6eae03e9bfa33cdd')