[arch-commits] Commit in perl-image-size/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:21:20 UTC 2018


    Date: Friday, November 9, 2018 @ 23:21:18
  Author: foutrelis
Revision: 405258

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 405256, perl-image-size/trunk/PKGBUILD)

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

Copied: perl-image-size/repos/community-staging-any/PKGBUILD (from rev 405256, perl-image-size/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 23:21:18 UTC (rev 405258)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: <francois . archlinux . org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Contributor: Igor Scabini <furester at gmail.com>
+
+pkgname=perl-image-size
+pkgver=3.300
+pkgrel=3
+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
+}


More information about the arch-commits mailing list