Package Details: perl-module-starter 1.71-1

Git Clone URL: https://aur.archlinux.org/perl-module-starter.git (read-only)
Package Base: perl-module-starter
Description: a simple starter kit for any module
Upstream URL: http://search.cpan.org/dist/Module-Starter
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: eworm
Last Packager: eworm
Votes: 17
Popularity: 0.130607
First Submitted: 2009-04-25 19:29
Last Updated: 2016-03-22 12:29

Latest Comments

mkoloberdin commented on 2016-03-19 18:22

The same patch as below, with proper formatting: http://pastebin.com/ddwnatSw

Subject: [PATCH] Update to 1.71; Make changes as per Perl package guidelines in Arch Wiki

---
.SRCINFO | 10 ++++++----
PKGBUILD | 36 +++++++++++++++++++-----------------
2 files changed, 25 insertions(+), 21 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 8d73cbd..32e9545 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Sat Mar 19 18:18:30 UTC 2016
pkgbase = perl-module-starter
pkgdesc = a simple starter kit for any module
- pkgver = 1.62
- pkgrel = 2
+ pkgver = 1.71
+ pkgrel = 1
url = http://search.cpan.org/dist/Module-Starter
arch = any
license = PerlArtistic
@@ -9,8 +11,8 @@ pkgbase = perl-module-starter
depends = perl
depends = perl-path-class
options = !emptydirs
- source = http://search.cpan.org/CPAN/authors/id/X/XS/XSAWYERX/Module-Starter-1.62.tar.gz
- sha256sums = ff08a7b9690f54709b7c0bc8bbb6df26209e4c7a7e6194f0697c5bbeb71ee5c3
+ source = http://search.cpan.org/CPAN/authors/id/X/XS/XSAWYERX/Module-Starter-1.71.tar.gz
+ sha256sums = e1b967f5c6b21cdfad0fe1eafd5681705d79bb5696db02ad9b5327e157bb050a

pkgname = perl-module-starter

diff --git a/PKGBUILD b/PKGBUILD
index cfdf945..3bcebf1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,37 +2,39 @@
# CPAN Name: Module-Starter

pkgname=perl-module-starter
-pkgver=1.62
-pkgrel=2
+pkgver=1.71
+pkgrel=1
pkgdesc='a simple starter kit for any module'
+_dist=Module-Starter
arch=('any')
-url='http://search.cpan.org/dist/Module-Starter'
+url="http://search.cpan.org/dist/$_dist"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-path-class')
options=('!emptydirs')
-source=("http://search.cpan.org/CPAN/authors/id/X/XS/XSAWYERX/Module-Starter-${pkgver}.tar.gz")
-sha256sums=('ff08a7b9690f54709b7c0bc8bbb6df26209e4c7a7e6194f0697c5bbeb71ee5c3')
+source=("http://search.cpan.org/CPAN/authors/id/X/XS/XSAWYERX/$_dist-$pkgver.tar.gz")
+sha256sums=('e1b967f5c6b21cdfad0fe1eafd5681705d79bb5696db02ad9b5327e157bb050a')

build() {
- cd "${srcdir}/Module-Starter-${pkgver}"
-
- export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
- perl Makefile.PL INSTALLDIRS=vendor
- make
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ /usr/bin/perl Makefile.PL
+ make
}

check() {
- cd "${srcdir}/Module-Starter-${pkgver}"
-
- make test
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
}


package() {
- cd "${srcdir}/Module-Starter-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
+ cd "$srcdir/$_dist-$pkgver"
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"

- find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
+ find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
}

--
2.7.4

dracorp commented on 2014-05-29 19:15

404, please update

smls commented on 2012-05-28 12:45

'perl-path-class' is missing from depends array