[arch-commits] Commit in perl-lingua-translit/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 08:52:38 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:52:37
  Author: foutrelis
Revision: 353966

archrelease: copy trunk to staging-any

Added:
  perl-lingua-translit/repos/staging-any/
  perl-lingua-translit/repos/staging-any/PKGBUILD
    (from rev 353965, perl-lingua-translit/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: perl-lingua-translit/repos/staging-any/PKGBUILD (from rev 353965, perl-lingua-translit/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 08:52:37 UTC (rev 353966)
@@ -0,0 +1,37 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-lingua-translit
+_dist=Lingua-Translit
+pkgver=0.28
+pkgrel=3
+pkgdesc="Transliteration of text between writing systems"
+arch=('any')
+url="https://metacpan.org/release/${_dist}"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/A/AL/ALINKE/${_dist}-${pkgver}.tar.gz)
+md5sums=('090cecd52ff9c1f9d4b370ba653b9da1')
+sha256sums=('113f91d8fc2c630437153a49fb7a52b023af8f6278ed96c070b1f60824b8eae1')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}


More information about the arch-commits mailing list