upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ack / trunk / PKGBUILD
blobeddff3ac2324a3f5d496b1e57fab4bb06a4daad5
1 # Maintainer: Florian Pritz <flo@xinu.at>
2 # Contributor:  TDY <tdy@gmx.com>
3 # Contributor: Michael S. Walker <barrucadu@localhost>
5 pkgname=ack
6 pkgver=3.7.0
7 pkgrel=1
8 pkgdesc="A Perl-based grep replacement, aimed at programmers with large trees of heterogeneous source code"
9 arch=('any')
10 url="http://betterthangrep.com/"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl-file-next')
13 options=('!emptydirs')
14 source=("https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/$pkgname-v$pkgver.tar.gz")
15 md5sums=('7daaf78636f9cbbebf42a6898d89f50f')
16 sha256sums=('ea7caa14f757de083310ed2cba298661ddcca5dee06ec8f18043ea625a79df20')
18 build() {
19   cd "$srcdir/$pkgname-v$pkgver"
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd "$srcdir/$pkgname-v$pkgver"
26   make test
29 package() {
30   cd "$srcdir/$pkgname-v$pkgver"
31   make DESTDIR="$pkgdir" install