blob: d04e331198097d56b07bf19242b2ded5bd2dfabc (
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
31
32
33
34
35
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=pspg
pkgver=5.6.4
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() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
1835c2ae7c302676009c2872cff4705e9daee5a2d427b691f79a7653b25ccc8d2dd6833883fdb15a4e957feb15844fa165da500a6dbbd62b28ae83ded191e20b pspg-5.6.4.tar.gz
"
|