[arch-commits] Commit in perl-sub-exporter-progressive/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 21 18:00:57 UTC 2016
Date: Friday, October 21, 2016 @ 18:00:57
Author: felixonmars
Revision: 192882
upgpkg: perl-sub-exporter-progressive 0.001013-1
Modified:
perl-sub-exporter-progressive/trunk/PKGBUILD
----------+
PKGBUILD | 33 ++++++++++-----------------------
1 file changed, 10 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-21 17:34:38 UTC (rev 192881)
+++ PKGBUILD 2016-10-21 18:00:57 UTC (rev 192882)
@@ -3,8 +3,7 @@
# Contributor: Alan Young <harleypig at gmail.com>
pkgname=perl-sub-exporter-progressive
-_pkgname=Sub-Exporter-Progressive
-pkgver=0.001012
+pkgver=0.001013
pkgrel=1
pkgdesc="Only use Sub::Exporter if you need it"
arch=('any')
@@ -11,33 +10,21 @@
url="http://search.cpan.org/dist/Sub-Exporter-Progressive"
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/F/FR/FREW/$_pkgname-$pkgver.tar.gz)
-md5sums=('a6be2bcef9a9f5c5f2709060dae521a2')
+source=(http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Sub-Exporter-Progressive-$pkgver.tar.gz)
+md5sums=('72cf6acdd2a0a8b105821a4db98e4ebe')
build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL="--skipdeps" \
- PERL_MM_OPT="INSTALLDIRS=vendor" \
- PERL_MB_OPT="--installdirs vendor" \
- MODULEBUILDRC=/dev/null
-
- cd "$srcdir"/$_pkgname-$pkgver
-
- /usr/bin/perl Makefile.PL
- make
- )
+ cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
}
check() {
- cd "$srcdir"/$_pkgname-$pkgver
-
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- make test
- )
+ cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
+ make test
}
package() {
- cd "$srcdir"/$_pkgname-$pkgver
-
- make DESTDIR="$pkgdir"/ install
+ cd "$srcdir"/Sub-Exporter-Progressive-$pkgver
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list