# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=pspg pkgver=0.7.5 pkgrel=0 pkgdesc="A unix pager optimized for psql" url="https://github.com/okbob/pspg" arch="all" license="BSD-2-Clause" makedepends="ncurses-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/okbob/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var make } check() { cd "$builddir" ./pspg -V } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="4dc5fe3f2dc70d2d15021e7fb1fca9b870683dee4ab0a6b97bff06fecfe35fb57426440a6d73439210eb20bbe757d1e1a33e43f7ab040c1923527456aca2bbc8 pspg-0.7.5.tar.gz"