[arch-commits] Commit in perl-sub-install/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Wed Nov 12 23:49:52 UTC 2014


    Date: Thursday, November 13, 2014 @ 00:49:51
  Author: eric
Revision: 122477

upgpkg: perl-sub-install 0.928-1

Upstream update, Clean up PKGBUILD

Modified:
  perl-sub-install/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++----------------------
 1 file changed, 15 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-12 22:11:58 UTC (rev 122476)
+++ PKGBUILD	2014-11-12 23:49:51 UTC (rev 122477)
@@ -3,36 +3,29 @@
 # Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
 
 pkgname=perl-sub-install
-pkgver=0.927
+pkgver=0.928
 pkgrel=1
 pkgdesc="Install subroutines into packages easily"
 arch=('any')
+url="https://metacpan.org/release/Sub-Install"
 license=('PerlArtistic' 'GPL')
+depends=('perl')
 options=('!emptydirs')
-depends=('perl')
-url="https://metacpan.org/release/Sub-Install"
 source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Install-$pkgver.tar.gz)
-md5sums=('3f3b70f651b5bc41c6ccc372b2fa3430')
+sha1sums=('868c6cb4c0232d9ac3f865f232359f82012be8d6')
 
-build() (
-  cd "$srcdir"/Sub-Install-$pkgver
-  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
-
-  unset PERL5LIB PERL_MM_OPT
-  /usr/bin/perl Makefile.PL
+build() {
+  cd Sub-Install-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
   make
-)
+}
 
-check() (
-  cd "$srcdir"/Sub-Install-$pkgver
-  export PERL_MM_USE_DEFAULT=1
-
-  unset PERL5LIB
+check() {
+  cd Sub-Install-$pkgver
   make test
-)
+}
 
-package() (
-  cd "$srcdir"/Sub-Install-$pkgver
-
-  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"/
-)
+package() {
+  cd Sub-Install-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list