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

Felix Yan felixonmars at archlinux.org
Sat May 25 08:58:17 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:58:17
  Author: felixonmars
Revision: 353996

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-which/repos/staging-any/PKGBUILD (from rev 353995, perl-file-which/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 08:58:17 UTC (rev 353996)
@@ -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=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=('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