desktop/perl-exiftool/PKGBUILD

30 lines
922 B
Bash
Raw Normal View History

2011-03-26 23:11:12 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2013-06-21 07:19:09 +08:00
# contributor: Ernesto Manriquez <alejandronova@gmail.com>
2011-03-26 23:11:12 +08:00
pkgname=perl-exiftool
_srcname=Image-ExifTool
2013-06-21 07:19:09 +08:00
pkgver=9.27
2011-03-26 23:11:12 +08:00
pkgrel=1
license=('GPL')
pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
url="http://www.sno.phy.queensu.ca/~phil/exiftool/"
arch=(any)
depends=('perl')
source=(http://www.sno.phy.queensu.ca/~phil/exiftool/${_srcname}-${pkgver}.tar.gz)
options=(!emptydirs)
2013-06-21 07:19:09 +08:00
md5sums=('c61f8f79c8e9f375e5be1ca0d13cc5fa')
2011-03-26 23:11:12 +08:00
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
}