summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar2017-04-12 12:34:22 -0700
committeryar2017-04-12 12:34:22 -0700
commitd1af76fbb032cfe918a4aa3626672c4979db3ca5 (patch)
treee9bbf3beec67c923ee9b37fe3b2e882ec52f1b42
parentbc60ee9320f11599eafda0f2f8baed9a572a77ac (diff)
downloadaur-d1af76fbb032cfe918a4aa3626672c4979db3ca5.tar.gz
fix funcs
-rw-r--r--PKGBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3864c2a03ca..cee7181b4ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,26 +18,23 @@ sha512sums=('2679d6b28523b172e1ac4b48b018e896c083d1d45227fd0bd4d156c6dc2862edb23
build() {
cd "${srcdir}/${cpaname}-${pkgver}"
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
- /usr/bin/perl Makefile.PL
- make
- )
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+ perl Makefile.PL
+ make
}
check() {
cd "${srcdir}/${cpaname}-${pkgver}"
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- make test
- )
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
}
package() {
cd "${srcdir}/${cpaname}-${pkgver}"
- make install
-
+ make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}