mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/pg_cron: upgrade to 1.0.2
This commit is contained in:
parent
38ff1ca94f
commit
d0622049ad
@ -1,7 +1,7 @@
|
|||||||
# Contributor: G.J.R. Timmer <gjr.timmer@gmail.com>
|
# Contributor: G.J.R. Timmer <gjr.timmer@gmail.com>
|
||||||
# Maintainer: G.J.R. Timmer <gjr.timmer@gmail.com>
|
# Maintainer: G.J.R. Timmer <gjr.timmer@gmail.com>
|
||||||
pkgname=pg_cron
|
pkgname=pg_cron
|
||||||
pkgver=1.0.0
|
pkgver=1.0.2
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Cron-based scheduler for PostgreSQL 9.5+"
|
pkgdesc="Cron-based scheduler for PostgreSQL 9.5+"
|
||||||
url="https://github.com/citusdata/pg_cron"
|
url="https://github.com/citusdata/pg_cron"
|
||||||
@ -12,28 +12,27 @@ makedepends="postgresql-dev"
|
|||||||
install="$pkgname.post-install"
|
install="$pkgname.post-install"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/citusdata/$pkgname/archive/v${pkgver}.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/citusdata/$pkgname/archive/v${pkgver}.tar.gz"
|
||||||
builddir="$srcdir/$pkgname-$pkgver"
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
|
options="!check" # no tests provided
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
default_prepare || return 1
|
default_prepare
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
|
|
||||||
# Remove -Werror from Makefile
|
# Remove -Werror from Makefile
|
||||||
# Required to compile on alpine, to ignore compilation warnings
|
# Required to compile on alpine, to ignore compilation warnings
|
||||||
sed "s/-Werror //" -i Makefile || return 1
|
sed "s/-Werror //" -i Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make || return 1
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
|
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
make DESTDIR="$pkgdir" install
|
||||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums="baa6519e78cc8d5d38d7090a2511d860 pg_cron-1.0.0.tar.gz"
|
sha512sums="78e0f75c50e593b2430e3b96099cb92600f0bd0716c1bd89abc03d598daae8670db539dbdb0211bdb12ebd6cd044435bbb1862cb3162c06de448560c5bdfd474 pg_cron-1.0.2.tar.gz"
|
||||||
sha256sums="ed8e4554bd8bf7e5f41823dde8f04599d89bcddffdc0cec8119a40c12014df66 pg_cron-1.0.0.tar.gz"
|
|
||||||
sha512sums="09546f3c81163449df4c256b3329e858941314041b413e1f37a74d30295e9eab6693c8b60ec9792fd616c9b2d4b9c6529a3586b66486145c9b8d91e4dc20c3cf pg_cron-1.0.0.tar.gz"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user