summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 19:26:14 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 19:26:14 (GMT)
commit98ed26c0537a50b3ecc5dd28ba02e2425157bfaa (patch)
tree144d225f1ff0de1688a797801f3ca546d4dc84f4 /abs/core
parent984a360e0a1b8c6fc8d9a632f1e8f8b324a7f66a (diff)
downloadlinhes_pkgbuild-98ed26c0537a50b3ecc5dd28ba02e2425157bfaa.zip
linhes_pkgbuild-98ed26c0537a50b3ecc5dd28ba02e2425157bfaa.tar.gz
linhes_pkgbuild-98ed26c0537a50b3ecc5dd28ba02e2425157bfaa.tar.bz2
perl-date-manip: update to 6.70
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-date-manip/PKGBUILD32
1 files changed, 17 insertions, 15 deletions
diff --git a/abs/core/perl_modules/perl-date-manip/PKGBUILD b/abs/core/perl_modules/perl-date-manip/PKGBUILD
index 0ef2f9c..8688fd1 100644
--- a/abs/core/perl_modules/perl-date-manip/PKGBUILD
+++ b/abs/core/perl_modules/perl-date-manip/PKGBUILD
@@ -1,29 +1,31 @@
-# $Id: PKGBUILD 161416 2012-06-11 02:54:05Z eric $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=perl-date-manip
-_realname=Date-Manip
-pkgver=6.32
+pkgver=6.70
pkgrel=1
pkgdesc="Date::Manip - date manipulation routines"
arch=('any')
license=('PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl-yaml-syck')
+url="http://search.cpan.org/dist/Date-Manip/"
+depends=('perl')
+checkdepends=('perl-test-inter')
options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/${_realname}-${pkgver}.tar.gz)
-md5sums=('0d5c1ee2f75f6407fb1035e3535f650b')
+source=("http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-${pkgver}.tar.gz")
+sha512sums=('67550a3f558fa0c075a9fb43bd59b23328d5d55d053c207a92db6a6e18cba6d2f53ca190110d2f1b00338b1e249d7021b3184f3d9f3965cba0160211a64beb26')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd Date-Manip-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
- # install module in vendor directories.
- perl Build.PL installdirs=vendor destdir="${pkgdir}"
- perl Build
+check() {
+ cd Date-Manip-${pkgver}
+ make test
}
package() {
- cd "${srcdir}/${_realname}-${pkgver}"
- perl Build install
+ cd Date-Manip-${pkgver}
+ make DESTDIR="${pkgdir}" install
}