[arch-commits] Commit in perl-encode-locale/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:15:36 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:15:35
  Author: felixonmars
Revision: 386217

archrelease: copy trunk to staging-any

Added:
  perl-encode-locale/repos/staging-any/
  perl-encode-locale/repos/staging-any/PKGBUILD
    (from rev 386215, perl-encode-locale/trunk/PKGBUILD)

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

Copied: perl-encode-locale/repos/staging-any/PKGBUILD (from rev 386215, perl-encode-locale/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 08:15:35 UTC (rev 386217)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-encode-locale
+pkgver=1.05
+pkgrel=6
+pkgdesc="Determine the locale encoding"
+arch=('any')
+url="https://search.cpan.org/dist/Encode-Locale"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz)
+sha1sums=('1e1632e869cb76e3fdbda0a83a192190ed178d60')
+
+build() {
+  cd Encode-Locale-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Encode-Locale-$pkgver
+  make test
+}
+
+package() {
+  cd Encode-Locale-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list