archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-lingua-preferred / trunk / PKGBUILD
blob54c4d1478338011e44b7dec15ae7d1b2e0e9585d
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Allan McRae <mcrae_allan@hotmail.com>
3 # Contributor: François Charette <firmicus ατ gmx δοτ net>
5 pkgname=perl-lingua-preferred
6 pkgver=0.2.4
7 pkgrel=8
8 pkgdesc="Pick a language based on user's preferences"
9 arch=('any')
10 url="https://search.cpan.org/dist/Lingua-Preferred"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl>=5.10.0')
13 options=('!emptydirs')
14 source=(https://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz)
15 sha256sums=('fa58c4fac6b676f78caad6b472a785dd0c8fa67004a62294fbcfa3a3eb243c83')
17 build() {
18   cd  "$srcdir"/Lingua-Preferred-$pkgver
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20   make
23 package() {
24   cd  "$srcdir"/Lingua-Preferred-$pkgver
25   make install DESTDIR="$pkgdir"
26   find "$pkgdir" -name '.packlist' -delete
27   find "$pkgdir" -name '*.pod' -delete