[arch-commits] Commit in (4 files)

Jan Steffens heftig at archlinux.org
Fri Mar 18 20:44:57 UTC 2011


    Date: Friday, March 18, 2011 @ 16:44:57
  Author: heftig
Revision: 115656

Add perl-file-which, from community

Added:
  perl-file-which/
  perl-file-which/repos/
  perl-file-which/trunk/
  perl-file-which/trunk/PKGBUILD

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

Added: perl-file-which/trunk/PKGBUILD
===================================================================
--- perl-file-which/trunk/PKGBUILD	                        (rev 0)
+++ perl-file-which/trunk/PKGBUILD	2011-03-18 20:44:57 UTC (rev 115656)
@@ -0,0 +1,22 @@
+# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-file-which
+_realname=File-Which
+pkgver=1.09
+pkgrel=1
+pkgdesc="Portable implementation of which"
+arch=(any)
+url="http://search.cpan.org/dist/File-Which"
+license=("GPL" "Artistic")
+source=("http://www.cpan.org/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz")
+md5sums=('b9429edaad7f45caafa4d458afcfd8af')
+
+build() {
+  cd $startdir/src/${_realname}-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
+  make || return 1
+  make install DESTDIR=$startdir/pkg || return 1
+  find $startdir/pkg -name '.packlist' -delete
+  find $startdir/pkg -name '*.pod' -delete
+}


Property changes on: perl-file-which/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the arch-commits mailing list