[arch-commits] Commit in perl-file-sharedir/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 09:25:37 UTC 2019
Date: Saturday, May 25, 2019 @ 09:25:37
Author: foutrelis
Revision: 354095
archrelease: copy trunk to staging-any
Added:
perl-file-sharedir/repos/staging-any/
perl-file-sharedir/repos/staging-any/PKGBUILD
(from rev 354093, perl-file-sharedir/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-file-sharedir/repos/staging-any/PKGBUILD (from rev 354093, perl-file-sharedir/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-05-25 09:25:37 UTC (rev 354095)
@@ -0,0 +1,27 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Caleb Cushing <xenoterracide at gmail.com>
+
+pkgname=perl-file-sharedir
+_realname=File-ShareDir
+pkgver=1.116
+pkgrel=2
+pkgdesc="Locate per-dist and per-module shared files"
+arch=(any)
+license=(PerlArtistic GPL)
+depends=(perl-class-inspector)
+url="https://metacpan.org/release/File-ShareDir"
+options=('!emptydirs')
+_author=REHSACK
+source=("https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/${_author}/$_realname-$pkgver.tar.gz")
+md5sums=('f2a0eee9f04c93753dd56437175e5bda')
+
+build() {
+ cd "$srcdir/$_realname-$pkgver"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list