summaryrefslogtreecommitdiff
path: root/extra/perl-guard/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-27 00:29:16 -0700
committerroot <root@rshg054.dnsready.net>2013-05-27 00:29:16 -0700
commitb4ca83da72ffb5800852339f6efe5a59c16e9f94 (patch)
tree3ed149ced423d2629e0b3a71f0b1e2cf3f6ced70 /extra/perl-guard/PKGBUILD
parent99ee54f2484aadc464e997e54aa9c7ca7ecde198 (diff)
Mon May 27 00:29:16 PDT 2013
Diffstat (limited to 'extra/perl-guard/PKGBUILD')
-rw-r--r--extra/perl-guard/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/extra/perl-guard/PKGBUILD b/extra/perl-guard/PKGBUILD
index 8a21ab9e5..63e5e7488 100644
--- a/extra/perl-guard/PKGBUILD
+++ b/extra/perl-guard/PKGBUILD
@@ -1,19 +1,17 @@
# Packager: Justin Davis <jrcd83@gmail.com>
-# $Id: PKGBUILD 180339 2013-03-20 16:34:29Z eric $
+# $Id: PKGBUILD 186406 2013-05-26 09:25:16Z bluewind $
pkgname=perl-guard
pkgver=1.022
-pkgrel=2
+pkgrel=3
pkgdesc="safe cleanup blocks"
-arch=(i686 x86_64)
-license=(custom:unknown)
-options=(!emptydirs)
+arch=('i686' 'x86_64')
+url="https://metacpan.org/release/Guard"
+license=('GPL' 'PerlArtistic')
depends=('perl')
-url=https://metacpan.org/release/Guard
+options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Guard-${pkgver}.tar.gz")
-md5sums=(8d1d8b942fd5d0240f47906a6d6fac8c)
-sha512sums=(9eb1c4fa29f6190115fe11215ff5d27bb3e7f5ab60c7f40c4142ad9ff8aad91b0b169204e4d0f1b1638381c0c99e6a0b5627b8b6d60fad62f1392a9d1e49751e)
-_distdir="${srcdir}/Guard-${pkgver}"
+md5sums=('8d1d8b942fd5d0240f47906a6d6fac8c')
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
@@ -22,7 +20,7 @@ build() {
PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null
- cd "$_distdir"
+ cd "${srcdir}/Guard-${pkgver}"
/usr/bin/perl Makefile.PL
make
)
@@ -30,13 +28,13 @@ build() {
check() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
+ cd "${srcdir}/Guard-${pkgver}"
make test
)
}
package() {
- cd "$_distdir"
+ cd "${srcdir}/Guard-${pkgver}"
make DESTDIR="$pkgdir" install
}