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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 09:05:27 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:05:27
  Author: foutrelis
Revision: 329946

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-which/repos/staging-any/PKGBUILD (from rev 329945, perl-file-which/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:05:27 UTC (rev 329946)
@@ -0,0 +1,28 @@
+# $Id$
+# 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.22
+pkgrel=2
+pkgdesc="Portable implementation of which"
+arch=(any)
+url="http://search.cpan.org/dist/File-Which"
+license=(GPL PerlArtistic)
+depends=(perl)
+options=('!emptydirs')
+_author=PLICEASE
+source=("https://www.cpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/${_realname}-${pkgver}.tar.gz")
+md5sums=('face60fafd220dc83fa581ef6f96d480')
+
+build() {
+  cd "$srcdir/${_realname}-${pkgver}"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir/${_realname}-${pkgver}"
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list