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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 09:34:44 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:34:44
  Author: foutrelis
Revision: 446715

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-which/repos/staging-any/PKGBUILD (from rev 446714, perl-file-which/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 09:34:44 UTC (rev 446715)
@@ -0,0 +1,28 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-file-which
+_realname=File-Which
+pkgver=1.27
+pkgrel=2
+pkgdesc="Portable implementation of which"
+arch=(any)
+url="https://metacpan.org/dist/$_realname"
+license=(GPL PerlArtistic)
+depends=(perl)
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$_realname-$pkgver.tar.gz")
+sha256sums=('3201f1a60e3f16484082e6045c896842261fc345de9fb2e620fd2a2c7af3a93a')
+
+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