[arch-commits] Commit in perl-exiftool/trunk (PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Sun Apr 17 22:21:54 UTC 2011


    Date: Sunday, April 17, 2011 @ 18:21:54
  Author: remy
Revision: 119968

Update to latest production release (8.50)

Modified:
  perl-exiftool/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-04-17 22:11:41 UTC (rev 119967)
+++ PKGBUILD	2011-04-17 22:21:54 UTC (rev 119968)
@@ -5,24 +5,29 @@
 
 pkgname=perl-exiftool
 _srcname=Image-ExifTool
-pkgver=8.21
+pkgver=8.50
 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)
+source=(http://search.cpan.org/CPAN/authors/id/E/EX/EXIFTOOL/${_srcname}-${pkgver}.tar.gz)
 options=(!emptydirs)
+md5sums=('58b56828b56b5be92c857ec89ae93925')
 
 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
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+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
 }
-md5sums=('de9d9c7863cb179b93b2be05c9831fea')
+




More information about the arch-commits mailing list