summaryrefslogtreecommitdiff
path: root/extra/perl-image-exiftool
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-16 03:38:43 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-16 03:38:43 +0000
commit7695869e55415ddd53069b90850a387e73f04f4e (patch)
tree943d5d2b3a9a108665203c54fa0f5d63d112a7c3 /extra/perl-image-exiftool
parent34276794ce110cd2f9204e4b504aea41fb584145 (diff)
Sun Feb 16 03:37:09 UTC 2014
Diffstat (limited to 'extra/perl-image-exiftool')
-rw-r--r--extra/perl-image-exiftool/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/extra/perl-image-exiftool/PKGBUILD b/extra/perl-image-exiftool/PKGBUILD
new file mode 100644
index 000000000..0b249f81b
--- /dev/null
+++ b/extra/perl-image-exiftool/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 144999 2011-12-13 23:07:09Z eric $
+# Maintainer: Florian Pritz <bluewind@xinu.at>
+# Contributor: tobias <tobias@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+# Contributor: Firmicus <francois.archlinux.org>
+
+pkgname=perl-image-exiftool
+_srcname=Image-ExifTool
+pkgver=9.46
+pkgrel=1
+pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
+arch=('any')
+url="http://search.cpan.org/perldoc?exiftool"
+license=('GPL')
+depends=('perl')
+provides=("perl-exiftool=$pkgver")
+replaces=("perl-exiftool")
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/E/EX/EXIFTOOL/${_srcname}-$pkgver.tar.gz)
+md5sums=('1561118c8fe9a8e8078afcf0d1650423')
+
+build() {
+ cd "${srcdir}/${_srcname}-${pkgver}"
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${srcdir}/${_srcname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_srcname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ # remove *.pod, .packlist, and empty dirs:
+ find "${pkgdir}" -name '.packlist' -delete
+ find "${pkgdir}" -name '*.pod' -delete
+}
+