summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroli2015-12-11 15:33:14 +0100
committeroli2015-12-11 15:34:56 +0100
commit2dd6f3cd9bb3868b2ce58bd391e64f90df83b058 (patch)
treec3f64c4a23dfd219274a1b7ba669e6287f36ec18
downloadaur-perl-image-metadata-jpeg.tar.gz
adopted from aur3
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD34
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..363fe090bc5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Fri Dec 11 14:34:48 UTC 2015
+pkgbase = perl-image-metadata-jpeg
+ pkgdesc = Image::MetaData::JPEG - Perl extension for showing/modifying JPEG (meta)data.
+ pkgver = 0.159
+ pkgrel = 2
+ url = http://search.cpan.org/dist/Image-MetaData-JPEG/
+ arch = any
+ license = GPL2
+ options = !emptydirs
+ source = http://cpan.org/modules/by-module/Image/Image-MetaData-JPEG-0.159.tar.gz
+ sha512sums = 99dbb1d83dc0058787674650f896c532dd3efba40f139bf4e9699ad4e4b870fe557094689e478b158ff062e3f22f883806a45220211b6f8626ab9daffa650350
+
+pkgname = perl-image-metadata-jpeg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..052b6f2fe2e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Jose Riha <jose1711 gmail com>
+# Contributor: Jason St. John <jstjohn .. purdue . edu>
+# Contributor: Archie <xMickael@ifrance.com>
+
+pkgname=perl-image-metadata-jpeg
+_perlmod=Image-MetaData-JPEG
+_modnamespace=Image
+pkgver=0.159
+pkgrel=2
+pkgdesc="Image::MetaData::JPEG - Perl extension for showing/modifying JPEG (meta)data."
+arch=('any')
+url="http://search.cpan.org/dist/${_perlmod}/"
+license=('GPL2')
+options=('!emptydirs')
+source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz")
+sha512sums=('99dbb1d83dc0058787674650f896c532dd3efba40f139bf4e9699ad4e4b870fe557094689e478b158ff062e3f22f883806a45220211b6f8626ab9daffa650350')
+
+build() {
+ cd "${_perlmod}-${pkgver}"
+
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${_perlmod}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${_perlmod}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+}