[arch-commits] Commit in ack/repos (2 files)
Florian Pritz
bluewind at nymeria.archlinux.org
Fri Apr 19 08:13:51 UTC 2013
Date: Friday, April 19, 2013 @ 10:13:51
Author: bluewind
Revision: 88507
archrelease: copy trunk to community-testing-any
Added:
ack/repos/community-testing-any/
ack/repos/community-testing-any/PKGBUILD
(from rev 88506, ack/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: ack/repos/community-testing-any/PKGBUILD (from rev 88506, ack/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2013-04-19 08:13:51 UTC (rev 88507)
@@ -0,0 +1,33 @@
+# $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.02
+pkgrel=1
+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=('9ae2c3939d0f069c6781ee5b6de47c27')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # some standalone tests are failing
+ make test || true
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list