[arch-commits] Commit in ack/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 11:57:06 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:57:06
Author: bluewind
Revision: 366595
archrelease: copy trunk to community-staging-any
Added:
ack/repos/community-staging-any/
ack/repos/community-staging-any/PKGBUILD
(from rev 366594, ack/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: ack/repos/community-staging-any/PKGBUILD (from rev 366594, ack/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 11:57:06 UTC (rev 366595)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Florian Pritz <flo at xinu.at>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Michael S. Walker <barrucadu at localhost>
+
+pkgname=ack
+pkgver=2.24
+pkgrel=2
+pkgdesc="A Perl-based grep replacement, aimed at programmers with large trees of heterogeneous source code"
+arch=('any')
+url="http://betterthangrep.com/"
+license=('GPL' 'PerlArtistic')
+depends=('perl-file-next')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$pkgname-$pkgver.tar.gz)
+md5sums=('92246556c479018b32828cbc5e0ce5cb')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list