[arch-commits] Commit in ack/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 11:48:57 UTC 2019
Date: Saturday, May 25, 2019 @ 11:48:56
Author: felixonmars
Revision: 470503
archrelease: copy trunk to community-staging-any
Added:
ack/repos/community-staging-any/
ack/repos/community-staging-any/PKGBUILD
(from rev 470501, ack/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: ack/repos/community-staging-any/PKGBUILD (from rev 470501, ack/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 11:48:56 UTC (rev 470503)
@@ -0,0 +1,31 @@
+# Maintainer: Florian Pritz <flo at xinu.at>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Michael S. Walker <barrucadu at localhost>
+
+pkgname=ack
+pkgver=2.28
+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=('5c363d701cb40cbc3806441b2a887b43')
+
+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