summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 19:44:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 19:44:26 (GMT)
commitb1e875db2a75237e2eddabbb9f79c0f9e33ffcb9 (patch)
tree14d0340b855fccd0ba26a86424955d1427aa23bc /abs/core
parent18b6d70d7267f410776988ebb5ca06f72707dfa4 (diff)
downloadlinhes_pkgbuild-b1e875db2a75237e2eddabbb9f79c0f9e33ffcb9.zip
linhes_pkgbuild-b1e875db2a75237e2eddabbb9f79c0f9e33ffcb9.tar.gz
linhes_pkgbuild-b1e875db2a75237e2eddabbb9f79c0f9e33ffcb9.tar.bz2
perl-datetime-local: update to 1.20
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-datetime-locale/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/abs/core/perl_modules/perl-datetime-locale/PKGBUILD b/abs/core/perl_modules/perl-datetime-locale/PKGBUILD
index 219e9c2..8d9d966 100644
--- a/abs/core/perl_modules/perl-datetime-locale/PKGBUILD
+++ b/abs/core/perl_modules/perl-datetime-locale/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 65785 2012-02-22 12:32:13Z spupykin $
+# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-datetime-locale
-pkgver=0.45
-pkgrel=2
+pkgver=1.20
+pkgrel=1
pkgdesc="Localization support for DateTime.pm "
arch=(any)
url="http://search.cpan.org/dist/DateTime-Locale"
license=('GPL' 'PerlArtistic')
-depends=('perl-params-validate' 'perl-list-moreutils')
+depends=('perl-params-validate' 'perl-list-moreutils'
+ 'perl-file-sharedir' 'perl-file-sharedir-install')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz)
-md5sums=('8ba6a4b70f8fa7d987529c2e2c708862')
+source=(https://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz)
+sha256sums=('998f034234441932c82a4598fa49a14f346d6e981d1d2d91a179913a9f81b898')
build() {
- cd $srcdir/DateTime-Locale-$pkgver
+ cd "$srcdir"/DateTime-Locale-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
- make install DESTDIR=$pkgdir
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
+}
+
+package() {
+ cd "$srcdir"/DateTime-Locale-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
}