[arch-commits] Commit in perl-archive-zip/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Tue Nov 12 23:09:49 UTC 2013
Date: Wednesday, November 13, 2013 @ 00:09:48
Author: eric
Revision: 199452
upgpkg: perl-archive-zip 1.33-1
Upstream update, Update source url, Add check function, Clean up PKGBUILD
Modified:
perl-archive-zip/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-12 22:48:55 UTC (rev 199451)
+++ PKGBUILD 2013-11-12 23:09:48 UTC (rev 199452)
@@ -3,26 +3,30 @@
# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
pkgname=perl-archive-zip
-_realname=Archive-Zip
-pkgver=1.30
-pkgrel=3
+pkgver=1.33
+pkgrel=1
pkgdesc="Provide a perl interface to ZIP archive files"
-arch=(any)
+arch=('any')
license=('GPL' 'PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl>=5.10.0')
+url="http://search.cpan.org/dist/Archive-Zip/"
+depends=('perl')
options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz)
-md5sums=('40153666e7538b410e001aa8a810e702')
+source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz)
+md5sums=('b732d154306efc85260c9b47cb567d10')
build() {
- cd ${srcdir}/${_realname}-${pkgver}
- # install module in vendor directories.
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ cd Archive-Zip-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
+check() {
+ cd Archive-Zip-${pkgver}
+ make test
+}
+
+
package() {
- cd ${srcdir}/${_realname}-${pkgver}
- make install DESTDIR=${pkgdir}
+ cd Archive-Zip-${pkgver}
+ make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list