summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 12b7138e91b24a52cc569885b39c06a17596b424 (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-pgsql
_project=gawkextlib
pkgver=1.1.2
pkgrel=3
pkgdesc="GAWK extension - interface to libpq from PostgreSQL"
arch=('x86_64')
url="https://sourceforge.net/projects/gawkextlib/"
license=('GPL-3.0-or-later')
depends=('gawkextlib' 'glibc' 'postgresql-libs')
source=("https://downloads.sourceforge.net/$_project/$pkgname-$pkgver.tar.gz")
md5sums=('df8890672e9eab11f90e2c6046972b3c')
sha256sums=('a258385265ce254c967cf47ad9288a65f5b5d40c626911dfab78fac3e344f170')

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
}