diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-27 06:45:24 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-27 09:00:42 +0000 |
commit | 57f13553a6f6fbc05b8bd307bc40fa5d141ce24f (patch) | |
tree | 777d57b2548a5d890933b44220726381b8dd3bff /main/postgresql-bdr-extension | |
parent | a07da753957573d128ef1a39bc6a078701147b18 (diff) | |
download | aports-57f13553a6f6fbc05b8bd307bc40fa5d141ce24f.tar.bz2 aports-57f13553a6f6fbc05b8bd307bc40fa5d141ce24f.tar.xz |
main/postgresql-bdr-extension: upgrade to 1.0.2, modernize APKBUILD, disable check()
Diffstat (limited to 'main/postgresql-bdr-extension')
-rw-r--r-- | main/postgresql-bdr-extension/APKBUILD | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/main/postgresql-bdr-extension/APKBUILD b/main/postgresql-bdr-extension/APKBUILD index 2c43008b4b..1aba4c25de 100644 --- a/main/postgresql-bdr-extension/APKBUILD +++ b/main/postgresql-bdr-extension/APKBUILD @@ -1,28 +1,21 @@ -# Mantainer: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=postgresql-bdr-extension -pkgver=0.9.3 -pkgrel=2 +pkgver=1.0.2 +pkgrel=0 pkgdesc="PostgreSQL bidirectional replication (BDR) extension" url="https://wiki.postgresql.org/wiki/BDR_Administration" arch="all" license="GPL" -depends= -depends_dev= makedepends="$depends_dev postgresql-bdr-dev" -install= subpackages="$pkgname-doc" +#FIXME: mkdir: can't create directory 'tmp_check/data': File exists +options="!check" source="http://packages.2ndquadrant.com/postgresql-bdr94-2ndquadrant/tarballs/bdr-$pkgver.tar.bz2" - -_builddir="$srcdir"/bdr-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here -} +builddir="$srcdir"/bdr-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -32,15 +25,14 @@ build() { make || return 1 } +check() { + cd "$builddir" + make DESTDIR="$pkgdir" check +} + package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install - - # remove the 2 lines below (and this) if there is no init.d script - # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname } -md5sums="43689fd290be1ac80d9849832636500b bdr-0.9.3.tar.bz2" -sha256sums="416ad2852a0fe8e4629e596476fc0ac2fe5ca9e9b2440ce32f33366641f55d54 bdr-0.9.3.tar.bz2" -sha512sums="8a129ecd45d69d056d750c043481aad000403e241a7fa89bfde7a758baf6262491a8727b21ea9454d4f989404fd2acb45cd6aa0758e4eaf5fa94c9a73f8c16c2 bdr-0.9.3.tar.bz2" +sha512sums="1654e357fc891ec55f4c086e9347f7dbde2e87ab96b94d8aacc8f2ccfd6c3d0b229b43af808807b6ead4419fbbe6e6485a71edef95984b6af1e6886f298067da bdr-1.0.2.tar.bz2" |