summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 21:02:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 21:02:55 (GMT)
commita27bc0c7dcad39d8412e922919b37fde1b653377 (patch)
tree09304c7fb3dfa0564ce5ba92fe0a14ccfae4d37a /abs/core/perl_modules
parent1ff6f678e59b871d33f141debf6ee3caad50b735 (diff)
downloadlinhes_pkgbuild-a27bc0c7dcad39d8412e922919b37fde1b653377.zip
linhes_pkgbuild-a27bc0c7dcad39d8412e922919b37fde1b653377.tar.gz
linhes_pkgbuild-a27bc0c7dcad39d8412e922919b37fde1b653377.tar.bz2
perl-lingua-preferred: rebuild
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-lingua-preferred/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD b/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD
index fa99326..1b450ba 100644
--- a/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD
+++ b/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 65881 2012-02-22 13:17:22Z spupykin $
+# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-lingua-preferred
pkgver=0.2.4
-pkgrel=4
+pkgrel=6
pkgdesc="Pick a language based on user's preferences"
arch=('any')
url="http://search.cpan.org/dist/Lingua-Preferred"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz)
-md5sums=('37e883fafb05b1439de1121f41e8ad75')
+source=(https://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz)
+sha256sums=('fa58c4fac6b676f78caad6b472a785dd0c8fa67004a62294fbcfa3a3eb243c83')
build() {
- cd $srcdir/Lingua-Preferred-$pkgver
+ cd "$srcdir"/Lingua-Preferred-$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"/Lingua-Preferred-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
}