summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5431edc71671962877e215cd5b5c2f67476ee3f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Patrick McCarty <pnorcks at gmail dot com>

pkgname=gawk-aregex
_project=gawkextlib
pkgver=1.1.0
pkgrel=3
pkgdesc="GAWK extension - approximate regex (fuzzy) matching"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/gawkextlib/"
license=('GPL')
depends=('gawkextlib' 'glibc' 'tre')
source=("https://downloads.sourceforge.net/$_project/$pkgname-$pkgver.tar.gz")
md5sums=('e1a8610596606be18d964e478ce0a833')
sha256sums=('dcbf5fd243a1ea09d5c5de7e49a2c15aadc78646b2100359d4ce834df0e47afe')

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr --enable-silent-rules
	make
}

check() {
	cd "$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}