summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d6486f6c60bb4cc78f4d437a5b2959347a7d3cf (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-redis
_project=gawkextlib
pkgver=1.7.8
pkgrel=4
pkgdesc="GAWK extension - interface to Redis via hiredis API"
arch=('x86_64')
url="https://sourceforge.net/projects/gawkextlib/"
license=('GPL-3.0-or-later')
depends=('glibc' 'hiredis')
source=("https://downloads.sourceforge.net/$_project/$pkgname-$pkgver.tar.gz")
md5sums=('e9c253d5856d42b5797103bc01f9d70a')
sha256sums=('1c462f2630f62bbfc14f3248358abd7d7646b964e5514473a1059f69b1f11109')

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
}