[arch-commits] Commit in perl-lingua-preferred/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:27:16 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:27:16
Author: felixonmars
Revision: 659252
archrelease: copy trunk to community-staging-any
Added:
perl-lingua-preferred/repos/community-staging-any/
perl-lingua-preferred/repos/community-staging-any/PKGBUILD
(from rev 659251, perl-lingua-preferred/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-lingua-preferred/repos/community-staging-any/PKGBUILD (from rev 659251, perl-lingua-preferred/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 16:27:16 UTC (rev 659252)
@@ -0,0 +1,28 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Allan McRae <mcrae_allan at hotmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-lingua-preferred
+pkgver=0.2.4
+pkgrel=8
+pkgdesc="Pick a language based on user's preferences"
+arch=('any')
+url="https://search.cpan.org/dist/Lingua-Preferred"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz)
+sha256sums=('fa58c4fac6b676f78caad6b472a785dd0c8fa67004a62294fbcfa3a3eb243c83')
+
+build() {
+ cd "$srcdir"/Lingua-Preferred-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Lingua-Preferred-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list