[arch-commits] Commit in perl-http-cookies/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Tue Mar 18 15:21:12 UTC 2014
Date: Tuesday, March 18, 2014 @ 16:21:12
Author: eric
Revision: 208178
upgpkg: perl-http-cookies 6.01-2
Fix source url, PKGBUILD clean up
Modified:
perl-http-cookies/trunk/PKGBUILD
----------+
PKGBUILD | 51 +++++++++++++++------------------------------------
1 file changed, 15 insertions(+), 36 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-18 15:18:08 UTC (rev 208177)
+++ PKGBUILD 2014-03-18 15:21:12 UTC (rev 208178)
@@ -1,51 +1,30 @@
-# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
-# Generator : pbjam 0.01
# $Id$
+# Maintainer:
pkgname=perl-http-cookies
pkgver=6.01
-pkgrel=1
+pkgrel=2
pkgdesc="HTTP cookie jars"
-arch=(any)
-license=(PerlArtistic GPL)
+arch=('any')
+url="http://search.cpan.org/dist/HTTP-Cookies"
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-http-date' 'perl-http-message')
options=('!emptydirs')
-depends=('perl>=5.8.8' 'perl-http-date>=6' 'perl-http-message')
-makedepends=()
-checkdepends=()
-conflicts=('perl-libwww<6')
-url=http://search.cpan.org/dist/HTTP-Cookies
-source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Cookies-6.00.tar.gz)
-md5sums=('21bed72b30a46604c152b7e25cf1cb45')
-sha512sums=('6399383e61a2fbad1dd130e67f51be32c118ed104065c109cde1e1262aed986fe3790231937dbdee861755bb58d365bc6f1dec316750f02700fce5014d1a1753')
-_distdir="${srcdir}/HTTP-Cookies-6.00"
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Cookies-$pkgver.tar.gz)
+sha1sums=('a8601a34e62666572bc8a4a98f56822b008afd17')
build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor" \
- PERL_MB_OPT="--installdirs vendor" \
- MODULEBUILDRC=/dev/null
-
- cd "$_distdir"
- /usr/bin/perl Makefile.PL
- make
- )
+ cd HTTP-Cookies-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
}
check() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
- make test
- )
+ cd HTTP-Cookies-$pkgver
+ make test
}
package() {
- cd "$_distdir"
- make DESTDIR="$pkgdir" install
+ cd HTTP-Cookies-$pkgver
+ make DESTDIR="$pkgdir" install
}
-
-# 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