[arch-commits] Commit in perl-sub-install/trunk (PKGBUILD)
Jonathan Steel
jsteel at nymeria.archlinux.org
Sun Sep 29 22:08:59 UTC 2013
Date: Monday, September 30, 2013 @ 00:08:58
Author: jsteel
Revision: 97805
upgpkg: perl-sub-install 0.926-2
Modified:
perl-sub-install/trunk/PKGBUILD
----------+
PKGBUILD | 48 +++++++++++++++++++++---------------------------
1 file changed, 21 insertions(+), 27 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-29 20:26:54 UTC (rev 97804)
+++ PKGBUILD 2013-09-29 22:08:58 UTC (rev 97805)
@@ -1,46 +1,40 @@
-# Maintainer: Justin Davis (juster) <jrcd83 at gmail.com>
# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
pkgname=perl-sub-install
pkgver=0.926
-pkgrel=1
-pkgdesc='install subroutines into packages easily'
-arch=(any)
-license=(PerlArtistic GPL)
-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=(89a7f82dd840bc2401f281b5f24732b9)
-sha512sums=(c536e1ace79ce8c6bd4a6e580cc2e181671b54f07cef231a84094c854779aee556de4b2ff0a95f0e6a8aca87f77a6e19d148071a48fe5c6e9c0ca15314f0c9cc)
-_dir="$srcdir/Sub-Install-$pkgver"
+pkgrel=2
+pkgdesc="Install subroutines into packages easily"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+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=('89a7f82dd840bc2401f281b5f24732b9')
-build()
-(
- cd "$_dir"
+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
make
)
-check()
-(
- cd "$_dir"
+check() (
+ cd "$srcdir/Sub-Install-$pkgver"
export PERL_MM_USE_DEFAULT=1
+
unset PERL5LIB
make test
)
-package()
-(
- cd "$_dir"
+package() (
+ cd "$srcdir/Sub-Install-$pkgver"
+
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
)
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list