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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:17:36 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:17:34
  Author: felixonmars
Revision: 389615

archrelease: copy trunk to staging-any

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

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

Copied: perl-encode-locale/repos/staging-any/PKGBUILD (from rev 389614, perl-encode-locale/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-06-21 10:17:34 UTC (rev 389615)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-encode-locale
+pkgver=1.05
+pkgrel=7
+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