[arch-commits] Commit in perl-file-sharedir/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 29 10:20:34 UTC 2022
Date: Sunday, May 29, 2022 @ 10:20:34
Author: felixonmars
Revision: 446760
archrelease: copy trunk to staging-any
Added:
perl-file-sharedir/repos/staging-any/
perl-file-sharedir/repos/staging-any/PKGBUILD
(from rev 446758, perl-file-sharedir/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-file-sharedir/repos/staging-any/PKGBUILD (from rev 446758, perl-file-sharedir/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2022-05-29 10:20:34 UTC (rev 446760)
@@ -0,0 +1,27 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Caleb Cushing <xenoterracide at gmail.com>
+
+pkgname=perl-file-sharedir
+_realname=File-ShareDir
+pkgver=1.118
+pkgrel=2
+pkgdesc="Locate per-dist and per-module shared files"
+arch=(any)
+license=(PerlArtistic GPL)
+depends=(perl-class-inspector)
+url="https://metacpan.org/dist/$_realname"
+options=('!emptydirs')
+_author=REHSACK
+source=("https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/${_author}/$_realname-$pkgver.tar.gz")
+sha256sums=('3bb2a20ba35df958dc0a4f2306fc05d903d8b8c4de3c8beefce17739d281c958')
+
+build() {
+ cd $_realname-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd $_realname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list