# Maintainer: David Harrigan # Contributer: Dmitri Goutnik pkgname=pspg pkgver=5.8.2 pkgrel=1 pkgdesc='Tabular data pager designed to be used with psql' arch=('x86_64') url="https://github.com/okbob/pspg" license=('BSD') depends=('ncurses' 'readline') conflicts=('pspg-git') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") sha256sums=('ab9b56c68b50623a9d6ad95232cd7de9069b8374accad27298eff7dbf141c81a') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}/" install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" install -Dm644 bash-completion.sh "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" install -Dm644 pspg.1 "${pkgdir}/usr/share/man/man1/pspg.1" } # vim:set ts=2 sw=2 et: