Date: Thursday, June 1, 2017 @ 08:50:08
  Author: bluewind
Revision: 231807

archrelease: copy trunk to community-staging-any

Added:
  perl-image-size/repos/community-staging-any/
  perl-image-size/repos/community-staging-any/PKGBUILD
    (from rev 231806, perl-image-size/trunk/PKGBUILD)

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

Copied: perl-image-size/repos/community-staging-any/PKGBUILD (from rev 231806, 
perl-image-size/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2017-06-01 08:50:08 UTC (rev 231807)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: <francois . archlinux . org>
+# Contributor: Lukas Jirkovsky <[email protected]>
+# Contributor: Igor Scabini <[email protected]>
+
+pkgname=perl-image-size
+pkgver=3.300
+pkgrel=2
+pkgdesc="Read the dimensions of an image in several popular formats"
+arch=(any)
+url="http://search.cpan.org/dist/Image-Size/";
+license=('LGPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/Image-Size-$pkgver.tar.gz";)
+md5sums=('c8f7f5097cadb984e57e9c0cad1f16b3')
+
+build() {
+  cd "$srcdir"/Image-Size-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/Image-Size-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}

Reply via email to