aboutsummaryrefslogtreecommitdiffstats
path: root/main/ack/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-24 13:40:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-24 13:42:12 +0000
commitfd39da6470e5e7b0b1c60565a810a6fa784ab1a0 (patch)
treeb64bdef33cd8c7f59de44af4cdf2fda23e6b2d51 /main/ack/APKBUILD
parent46ffb91c1b4cea571c72b0af1f12c999e0612285 (diff)
downloadaports-fd39da6470e5e7b0b1c60565a810a6fa784ab1a0.tar.bz2
aports-fd39da6470e5e7b0b1c60565a810a6fa784ab1a0.tar.xz
main/{ack,perl-file-next}: moved from testing
and claim maintainership
Diffstat (limited to 'main/ack/APKBUILD')
-rw-r--r--main/ack/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/ack/APKBUILD b/main/ack/APKBUILD
new file mode 100644
index 0000000000..2e5609614d
--- /dev/null
+++ b/main/ack/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ack
+pkgver=1.94
+pkgrel=0
+pkgdesc="A Perl-powered replacement for grep"
+url="http://betterthangrep.com/"
+arch="noarch"
+license="GPL"
+depends="perl-file-next"
+makedepends="perl-dev"
+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"