summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 18:49:38 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 18:49:38 (GMT)
commit2bc87228edb194337d8c490db34f290226d5cdf5 (patch)
treeff670f97dc6397c11b3c395ec7448645571f3472
parent75176561d4c88546f5bdc2f0d5164393ed209c93 (diff)
downloadlinhes_pkgbuild-2bc87228edb194337d8c490db34f290226d5cdf5.zip
linhes_pkgbuild-2bc87228edb194337d8c490db34f290226d5cdf5.tar.gz
linhes_pkgbuild-2bc87228edb194337d8c490db34f290226d5cdf5.tar.bz2
perl-class-load: update to 0.24
-rw-r--r--abs/core/perl_modules/perl-class-load/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/abs/core/perl_modules/perl-class-load/PKGBUILD b/abs/core/perl_modules/perl-class-load/PKGBUILD
index 1fc20c4..25ef704 100644
--- a/abs/core/perl_modules/perl-class-load/PKGBUILD
+++ b/abs/core/perl_modules/perl-class-load/PKGBUILD
@@ -1,25 +1,30 @@
-# $Id: PKGBUILD 73839 2012-07-16 05:39:18Z spupykin $
+# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=perl-class-load
-pkgver=0.20
-pkgrel=1
+pkgver=0.24
+pkgrel=2
pkgdesc="a working (require 'Class::Name') and more"
arch=('any')
license=('PerlArtistic' 'GPL')
url="http://search.cpan.org/dist/Class-Load"
options=(!emptydirs)
depends=('perl' 'perl-module-runtime' 'perl-data-optlist' 'perl-package-stash>=0.32'
- 'perl-try-tiny' 'perl-test-fatal' 'perl-module-implementation')
-source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-$pkgver.tar.gz)
-md5sums=('9ccb131338a6cf1318599c08c095cf72')
+ 'perl-try-tiny' 'perl-test-fatal' 'perl-module-implementation'
+ 'perl-namespace-clean')
+source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-$pkgver.tar.gz)
+sha256sums=('0bb983da46c146534fc77a556d6e40d925142f2eb43103534025ee545265ca36')
build() {
cd "${srcdir}/Class-Load-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
# make test
- make install DESTDIR=${pkgdir}
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
+}
+
+package() {
+ cd "${srcdir}/Class-Load-${pkgver}"
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
}