[arch-commits] Commit in perl-file-which/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:33:53 UTC 2020
Date: Sunday, June 21, 2020 @ 10:33:52
Author: felixonmars
Revision: 389686
archrelease: copy trunk to staging-any
Added:
perl-file-which/repos/staging-any/
perl-file-which/repos/staging-any/PKGBUILD
(from rev 389685, perl-file-which/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-file-which/repos/staging-any/PKGBUILD (from rev 389685, perl-file-which/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2020-06-21 10:33:52 UTC (rev 389686)
@@ -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=4
+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