[arch-commits] Commit in perl-gettext/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:38:41 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:38:40
  Author: felixonmars
Revision: 659337

archrelease: copy trunk to community-staging-any

Added:
  perl-gettext/repos/community-staging-any/
  perl-gettext/repos/community-staging-any/PKGBUILD
    (from rev 659335, perl-gettext/trunk/PKGBUILD)

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

Copied: perl-gettext/repos/community-staging-any/PKGBUILD (from rev 659335, perl-gettext/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 16:38:40 UTC (rev 659337)
@@ -0,0 +1,26 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-gettext
+pkgver=0.01
+pkgrel=10
+pkgdesc="Perl/CPAN Module Gettext"
+arch=('any')
+url="https://search.cpan.org/~jbriggs/Gettext/"
+license=("GPL" "PerlArtistic")
+options=(!emptydirs)
+source=("https://www.cpan.org/authors/id/J/JB/JBRIGGS/Gettext-0.01.tar.gz")
+sha256sums=('6048556e8e3ec7a5f4842f87a6cb8a4851264264eb9a8d5432144f63bfdc94f5')
+
+build() {
+  cd "$srcdir"/Gettext-0.01
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/Gettext-0.01
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list