[arch-commits] Commit in perl-error/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Sat May 11 22:45:36 UTC 2013
Date: Sunday, May 12, 2013 @ 00:45:36
Author: eric
Revision: 185186
upgpkg: perl-error 0.17020-1
Upstream update, Add checkdepends
Modified:
perl-error/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-11 22:17:24 UTC (rev 185185)
+++ PKGBUILD 2013-05-11 22:45:36 UTC (rev 185186)
@@ -3,32 +3,31 @@
# Contributor: Dale Blount <dale at archlinux.org>
pkgname=perl-error
-_realname=Error
-pkgver=0.17019
+pkgver=0.17020
pkgrel=1
pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way"
-url="http://search.cpan.org/dist/${_realname}/"
+url="http://search.cpan.org/dist/Error/"
arch=('any')
license=('PerlArtistic' 'GPL')
-depends=('perl>=5.10.0')
+depends=('perl')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/${_realname}-${pkgver}.tar.gz)
-md5sums=('47d4168c8dc064a73f6e49b6c81c21ab')
+source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${pkgver}.tar.gz)
+md5sums=('4ff667250bd9afabfe26c739382e656d')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
- # install module in vendor directories.
+ cd Error-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd Error-${pkgver}
make test
}
package() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd Error-${pkgver}
make install DESTDIR="${pkgdir}"
}
More information about the arch-commits
mailing list