[arch-commits] Commit in perl-image-exiftool/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Fri Oct 11 11:31:39 UTC 2019
Date: Friday, October 11, 2019 @ 11:31:39
Author: bluewind
Revision: 364628
archrelease: copy trunk to community-any
Added:
perl-image-exiftool/repos/community-any/
perl-image-exiftool/repos/community-any/PKGBUILD
(from rev 364627, perl-image-exiftool/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-image-exiftool/repos/community-any/PKGBUILD (from rev 364627, perl-image-exiftool/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-10-11 11:31:39 UTC (rev 364628)
@@ -0,0 +1,39 @@
+# 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=11.70
+pkgrel=1
+pkgdesc="Reader and rewriter of EXIF informations that supports raw files"
+arch=('any')
+url="https://search.cpan.org/perldoc?exiftool"
+license=('GPL')
+depends=('perl')
+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=('c1a0905e223ecbc716f64afbfd509dd2')
+
+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