aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/postgresql-pg_cron/APKBUILD (renamed from testing/pg_cron/APKBUILD)7
-rw-r--r--testing/postgresql-pg_cron/postgresql-pg_cron.post-install (renamed from testing/pg_cron/pg_cron.post-install)0
2 files changed, 5 insertions, 2 deletions
diff --git a/testing/pg_cron/APKBUILD b/testing/postgresql-pg_cron/APKBUILD
index 650f982138..4bb08da52b 100644
--- a/testing/pg_cron/APKBUILD
+++ b/testing/postgresql-pg_cron/APKBUILD
@@ -1,6 +1,7 @@
# Contributor: G.J.R. Timmer <gjr.timmer@gmail.com>
# Maintainer: G.J.R. Timmer <gjr.timmer@gmail.com>
-pkgname=pg_cron
+pkgname=postgresql-pg_cron
+_projname=pg_cron
pkgver=1.2.0
pkgrel=1
pkgdesc="Cron-based scheduler for PostgreSQL 9.5+"
@@ -9,8 +10,10 @@ arch="all"
license="PostgreSQL"
depends="postgresql"
makedepends="postgresql-dev"
+provides="pg_cron=$pkgver-r$pkgrel"
install="$pkgname.post-install"
-source="$pkgname-$pkgver.tar.gz::https://github.com/citusdata/pg_cron/archive/v$pkgver.tar.gz"
+source="https://github.com/citusdata/pg_cron/archive/v$pkgver/$_projname-$pkgver.tar.gz"
+builddir="$srcdir/$_projname-$pkgver"
options="!check" # no tests provided
prepare() {
diff --git a/testing/pg_cron/pg_cron.post-install b/testing/postgresql-pg_cron/postgresql-pg_cron.post-install
index b8e13ba49f..b8e13ba49f 100644
--- a/testing/pg_cron/pg_cron.post-install
+++ b/testing/postgresql-pg_cron/postgresql-pg_cron.post-install