summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8cfee04ba7343250645d0abc35b6a7de4b407529 (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=5
pkgdesc="GAWK extension - approximate regex (fuzzy) matching"
arch=('x86_64')
url="https://sourceforge.net/projects/gawkextlib/"
license=('GPL-3.0-or-later')
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
}