Date: Wednesday, June 12, 2019 @ 18:46:34
  Author: bluewind
Revision: 355941

archrelease: copy trunk to community-any

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

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

Copied: perl-image-exiftool/repos/community-any/PKGBUILD (from rev 355940, 
perl-image-exiftool/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2019-06-12 18:46:34 UTC (rev 355941)
@@ -0,0 +1,39 @@
+# 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=11.50
+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=('b4719aaa07c4ac4de3670da168d8954e')
+
+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
+  install -dm755 "$pkgdir/usr/share/$pkgname"
+  cp -r fmt_files config_files arg_files "$pkgdir/usr/share/$pkgname"
+}
+

Reply via email to