diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/perl_modules/perl-datetime-locale | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/perl_modules/perl-datetime-locale')
-rw-r--r-- | abs/core/perl_modules/perl-datetime-locale/PKGBUILD | 25 |
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 } |