Date: Sunday, January 12, 2014 @ 12:21:52
  Author: bluewind
Revision: 203517

archrelease: copy trunk to community-any

Added:
  perl-image-exiftool/repos/community-any/
  perl-image-exiftool/repos/community-any/PKGBUILD
    (from rev 203516, perl-image-exiftool/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: perl-image-exiftool/repos/community-any/PKGBUILD (from rev 203516, 
perl-image-exiftool/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2014-01-12 11:21:52 UTC (rev 203517)
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 144999 2011-12-13 23:07:09Z eric $
+# Maintainer: Florian Pritz <bluew...@xinu.at>
+# Contributor: tobias <tob...@archlinux.org>
+# Contributor: Tobias Kieslich <tob...@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://www.sno.phy.queensu.ca/~phil/exiftool/";
+license=('GPL')
+depends=('perl')
+provides=("perl-exiftool=$pkgver")
+replaces=("perl-exiftool")
+options=('!emptydirs')
+source=(http://www.sno.phy.queensu.ca/~phil/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
+}
+

Reply via email to