[arch-commits] Commit in perl-image-exiftool/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:04:53 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:04:51
  Author: felixonmars
Revision: 389885

archrelease: copy trunk to staging-any

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

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

Copied: perl-image-exiftool/repos/staging-any/PKGBUILD (from rev 389883, perl-image-exiftool/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-06-21 16:04:51 UTC (rev 389885)
@@ -0,0 +1,40 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: tobias <tobias at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+# Contributor: Firmicus <francois.archlinux.org>
+
+pkgname=perl-image-exiftool
+_srcname=Image-ExifTool
+pkgver=12.00
+pkgrel=2
+pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
+arch=('any')
+url="https://search.cpan.org/perldoc?exiftool"
+license=('GPL')
+depends=('perl')
+optdepends=('perl-archive-zip: Support for ZIP-files, including EPUB')
+provides=("perl-exiftool=$pkgver")
+replaces=("perl-exiftool")
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/E/EX/EXIFTOOL/${_srcname}-$pkgver.tar.gz)
+md5sums=('8c3f99a9a8d110ba340ee3f7063c940e')
+
+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"
+}
+



More information about the arch-commits mailing list