[arch-commits] Commit in perl-libwww/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Tue Apr 26 20:21:09 UTC 2011
Date: Tuesday, April 26, 2011 @ 16:21:09
Author: remy
Revision: 120843
upgpkg: perl-libwww 5.837-1
Modernize PKGBUILD, update to 5.837
Modified:
perl-libwww/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-04-26 20:19:41 UTC (rev 120842)
+++ PKGBUILD 2011-04-26 20:21:09 UTC (rev 120843)
@@ -5,7 +5,7 @@
pkgname=perl-libwww
_realname=libwww-perl
-pkgver=5.836
+pkgver=5.837
pkgrel=1
pkgdesc="A set of Perl modules which provides a simple and consistent API to the WWW"
arch=('any')
@@ -70,16 +70,21 @@
'perl-www-robotrules-anydbm_file=5.835'
)
source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
-md5sums=('424325417ed5a85700e604317872b588')
+md5sums=('9bbf1bce482b0bac98bb4f04253c03d0')
build() {
cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
- perl Makefile.PL --aliases INSTALLDIRS=vendor || return 1
- make || return 1
- make install DESTDIR=${pkgdir} || return 1
+ perl Makefile.PL --aliases INSTALLDIRS=vendor
+ make
+}
- # remove perllocal.pod and .packlist
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
+check() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ make test
}
+
+package() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+}
More information about the arch-commits
mailing list