[arch-commits] Commit in ack/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Aug 26 13:45:29 UTC 2017
Date: Saturday, August 26, 2017 @ 13:45:29
Author: felixonmars
Revision: 254040
archrelease: copy trunk to community-staging-any
Added:
ack/repos/community-staging-any/
ack/repos/community-staging-any/PKGBUILD
(from rev 254039, ack/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: ack/repos/community-staging-any/PKGBUILD (from rev 254039, ack/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-08-26 13:45:29 UTC (rev 254040)
@@ -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.18
+pkgrel=3
+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=('c69da08ff819b2660e4ce3b1e1e8c390')
+
+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