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

Felix Yan felixonmars at archlinux.org
Tue May 19 09:18:04 UTC 2020


    Date: Tuesday, May 19, 2020 @ 09:18:02
  Author: felixonmars
Revision: 386534

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-sharedir/repos/staging-any/PKGBUILD (from rev 386531, perl-file-sharedir/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 09:18:02 UTC (rev 386534)
@@ -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=3
+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