summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD10
2 files changed, 5 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c49d72cc598a..e1ea5330440f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,27 +1,7 @@
pkgbase = perl-moosex-methodattributes
pkgdesc = code attribute introspection
pkgver = 0.31
- pkgrel = 1
- url = http://search.cpan.org/dist/MooseX-MethodAttributes
- arch = any
- license = PerlArtistic
- license = GPL
- makedepends = perl-namespace-autoclean
- makedepends = perl-test-exception
- makedepends = perl-test-checkdeps
- depends = perl-moose>=0.98
- depends = perl-moosex-types
- depends = perl-namespace-clean>=0.10
- options = !emptydirs
- source = http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-MethodAttributes-0.31.tar.gz
- md5sums = fa9202b179c438844c3bea2ca7ecfe9d
-
-pkgname = perl-moosex-methodattributes
-
-pkgbase = perl-moosex-methodattributes
- pkgdesc = code attribute introspection
- pkgver = 0.31
- pkgrel = 2
+ pkgrel = 3
url = http://search.cpan.org/dist/MooseX-MethodAttributes
arch = any
license = PerlArtistic
diff --git a/PKGBUILD b/PKGBUILD
index 89b5cf11de47..b14155e7974f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='perl-moosex-methodattributes'
pkgver='0.31'
-pkgrel='2'
+pkgrel='3'
pkgdesc="code attribute introspection"
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -14,7 +14,7 @@ source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-MethodAttribut
md5sums=('fa9202b179c438844c3bea2ca7ecfe9d')
build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
@@ -23,14 +23,12 @@ build() {
cd "${srcdir}/MooseX-MethodAttributes-$pkgver"
/usr/bin/perl Makefile.PL
make
- )
}
check() {
cd "${srcdir}/MooseX-MethodAttributes-$pkgver"
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- make test
- )
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB="."
+ make test
}
package() {