# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=pspg pkgver=5.8.0 pkgrel=0 pkgdesc="A unix pager optimized for psql" url="https://github.com/okbob/pspg" arch="all" options="!check" # there is no tests license="BSD-2-Clause" makedepends="automake autoconf libpq-dev ncurses-dev readline-dev" source="https://github.com/okbob/pspg/archive/$pkgver/pspg-$pkgver.tar.gz" prepare() { default_prepare ./autogen.sh } build() { # getpass CFLAGS="$CFLAGS -D_BSD_SOURCE" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var make } package() { make DESTDIR="$pkgdir" install } sha512sums=" d2c594c7a601b5ab9c23e2f9caf6bb9d9c4767e2917f78d007b48a5fdbd55d9918c39af2ad51a9edee751f3d61fa655c5116cf1f84a13f3aaaeeda44497d3267 pspg-5.8.0.tar.gz "