[arch-commits] Commit in perl-file-which/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 09:12:31 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:12:31
  Author: foutrelis
Revision: 383792

archrelease: copy trunk to staging-any

Added:
  perl-file-which/repos/staging-any/
  perl-file-which/repos/staging-any/PKGBUILD
    (from rev 383791, perl-file-which/trunk/PKGBUILD)

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

Copied: perl-file-which/repos/staging-any/PKGBUILD (from rev 383791, perl-file-which/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 09:12:31 UTC (rev 383792)
@@ -0,0 +1,28 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com
+# Contributor: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-file-which
+_realname=File-Which
+pkgver=1.23
+pkgrel=3
+pkgdesc="Portable implementation of which"
+arch=(any)
+url="https://metacpan.org/release/$_realname"
+license=(GPL PerlArtistic)
+depends=(perl)
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$_realname-$pkgver.tar.gz")
+sha256sums=('b79dc2244b2d97b6f27167fc3b7799ef61a179040f3abd76ce1e0a3b0bc4e078')
+
+build() {
+  cd $_realname-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd $_realname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set sw=2 et:


More information about the arch-commits mailing list