diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-07-31 17:17:38 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-02 05:44:24 +0000 |
commit | a3e637e0804ddc30629da4beab8f65a83d9f18ea (patch) | |
tree | 4205ac1ea5b39e145aca91bbef1666b21d7adb1c | |
parent | d7c8dd729bed08ac7a379112793de37837c4dc65 (diff) | |
download | aports-a3e637e0804ddc30629da4beab8f65a83d9f18ea.tar.bz2 aports-a3e637e0804ddc30629da4beab8f65a83d9f18ea.tar.xz |
main/pgpool: upgrade to 3.6.5 and modernize abuild
-rw-r--r-- | main/pgpool/APKBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/main/pgpool/APKBUILD b/main/pgpool/APKBUILD index e08ff926c4..2143f2d923 100644 --- a/main/pgpool/APKBUILD +++ b/main/pgpool/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Cameron <cbanta@gmail.com> pkgname=pgpool _opkgname=pgpool-II -pkgver=3.6.4 +pkgver=3.6.5 pkgrel=0 pkgdesc="A connection pooling/replication server for PostgreSQL" url="http://www.pgpool.net" @@ -17,8 +17,8 @@ builddir="$srcdir"/$_opkgname-$pkgver prepare() { cd "$builddir" - default_prepare || return 1 - update_config_sub || return 1 + default_prepare + update_config_sub } build() { @@ -29,17 +29,21 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 + --infodir=/usr/share/info + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } -sha512sums="a44724b77faca12bc2b46a88e307c10f8099574b5a27720c98f2939fbfa61f41b4c3dc03565412972c351c10d57da4324a483c310b52f624f5ba87c2bd4d006f pgpool-II-3.6.4.tar.gz +sha512sums="12247730f202859c76b0a11ccc485de786e53df7b8e08ffd76d7653c25633d79387f027e7c9d804bf19cd89b9db047b7ca0cf1cf5e914ee74c6efc0b6660eb1d pgpool-II-3.6.5.tar.gz de36d7aab6806f1e303901ac80284bb9861edaf9b682901db9f1ead3843ba8cb528c814e5dabfc2c450ebed6450daf3fff14166d08a530e1c44a29e4d4e29a2c pgpool.initd" |