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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:34:15 UTC 2021


    Date: Monday, May 24, 2021 @ 08:34:14
  Author: foutrelis
Revision: 415992

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-which/repos/staging-any/PKGBUILD (from rev 415990, perl-file-which/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 08:34:14 UTC (rev 415992)
@@ -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.24
+pkgrel=2
+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=('7c5414dd6d5c61cb992fdd257aefe52f9a80bf55158cd5ec17469199d0b12eef')
+
+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