[arch-commits] Commit in perl-rename/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 11:37:35 UTC 2019
Date: Saturday, May 25, 2019 @ 11:37:35
Author: felixonmars
Revision: 470401
archrelease: copy trunk to community-staging-any
Added:
perl-rename/repos/community-staging-any/
perl-rename/repos/community-staging-any/PKGBUILD
(from rev 470399, perl-rename/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: perl-rename/repos/community-staging-any/PKGBUILD (from rev 470399, perl-rename/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 11:37:35 UTC (rev 470401)
@@ -0,0 +1,29 @@
+# Maintainer: Florian Pritz <flo at xinu.at>
+
+pkgname=perl-rename
+pkgver=1.9
+pkgrel=4
+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