aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-02-23 22:02:42 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-02-23 22:09:17 +0100
commit1ca4d10dfbc7a53226bd21b04f8de0c706db6446 (patch)
tree38807f0096492de36ba9376dbef986179532bf28 /testing
parentb5f94dfb7c7c81dc8903c10f2d11cc4a57209569 (diff)
downloadaports-1ca4d10dfbc7a53226bd21b04f8de0c706db6446.tar.bz2
aports-1ca4d10dfbc7a53226bd21b04f8de0c706db6446.tar.xz
testing/pg_cron: rename to postgresql-pg_cron
It's a PostgreSQL extension, there's a convention to prefix their pkgname with postgresql-.
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