[arch-commits] Commit in perl-rename/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 12:30:44 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:30:43
Author: bluewind
Revision: 366831
archrelease: copy trunk to community-staging-any
Added:
perl-rename/repos/community-staging-any/
perl-rename/repos/community-staging-any/PKGBUILD
(from rev 366830, perl-rename/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-rename/repos/community-staging-any/PKGBUILD (from rev 366830, perl-rename/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:30:43 UTC (rev 366831)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Florian Pritz <flo at xinu.at>
+
+pkgname=perl-rename
+pkgver=1.9
+pkgrel=3
+pkgdesc="Renames multiple files using Perl regular expressions."
+arch=(any)
+url="http://search.cpan.org/~pederst/rename/"
+license=('unknown')
+depends=(perl)
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/P/PE/PEDERST/rename-$pkgver.tar.gz)
+md5sums=('16df2adde955a6867701564e3d7c6a52')
+
+build() {
+ cd "$srcdir/rename-$pkgver"
+
+ perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/rename-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ install -d "$pkgdir/usr/bin/"
+ ln -s vendor_perl/rename "$pkgdir/usr/bin/perl-rename"
+ ln -s /usr/share/man/man1/rename.1p.gz "$pkgdir/usr/share/man/man1/perl-rename.1p.gz"
+}
More information about the arch-commits
mailing list