summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2011-03-08 20:22:54 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-08 20:57:48 -0600
commit303fd84d414bd38b1678c2787cb93d7e9c2659e1 (patch)
tree71936b60d2a1f979d044ca434c078150a5f35883
parent852673a8d346918886b56e91ba06aaa44fac2c6e (diff)
downloadaports-303fd84d414bd38b1678c2787cb93d7e9c2659e1.tar.bz2
aports-303fd84d414bd38b1678c2787cb93d7e9c2659e1.tar.xz
testing/ack: new aport
-rw-r--r--testing/ack/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/ack/APKBUILD b/testing/ack/APKBUILD
new file mode 100644
index 000000000..b7dd6c586
--- /dev/null
+++ b/testing/ack/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer:
+pkgname=ack
+pkgver=1.94
+pkgrel=0
+pkgdesc="A Perl-powered replacement for grep"
+url="http://betterthangrep.com/"
+arch="noarch"
+license="GPL"
+depends=
+makedepends="perl perl-file-next"
+source="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="dcf68e56bab0d394370fa102c7f08cb0 ack-1.94.tar.gz"