From 6b56a5da881f1eeaf9b734b8a9ce6e1ac68eea26 Mon Sep 17 00:00:00 2001
From: Jakub Jirutka <jakub@jirutka.cz>
Date: Mon, 29 Oct 2018 00:33:14 +0100
Subject: [PATCH] main/pllua: rename to postgresql-pllua

It's an extension for PostgreSQL, so it should be prefixed with
postgresql-, the same as other extensions in aports.
---
 main/{pllua => postgresql-pllua}/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename main/{pllua => postgresql-pllua}/APKBUILD (89%)

diff --git a/main/pllua/APKBUILD b/main/postgresql-pllua/APKBUILD
similarity index 89%
rename from main/pllua/APKBUILD
rename to main/postgresql-pllua/APKBUILD
index 68f0cdcc856a..ca354695cfab 100644
--- a/main/pllua/APKBUILD
+++ b/main/postgresql-pllua/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Michael Mason <ms13sp@gmail.com>
 # Contributor: Jakub Jirutka <jakub@jirutka.cz>
 # Maintainer: Michael Mason <ms13sp@gmail.com>
-pkgname=pllua
+pkgname=postgresql-pllua
 _pkgname=pllua-ng
 pkgver=2.0
 _pkgver="REL_${pkgver//./_}"
@@ -18,6 +18,8 @@ case "$CARCH" in
 esac
 makedepends="postgresql-dev $_lua-dev"
 options="!check"  # tests require running PostgreSQL
+provides="pllua=$pkgver-r$pkgrel"  # for backward compatibility
+replaces="pllua"  # for backward compatibility
 subpackages="$pkgname-dev"
 source="https://github.com/RhodiumToad/$_pkgname/archive/$_pkgver/$_pkgname-$_pkgver.tar.gz"
 builddir="$srcdir/$_pkgname-$_pkgver"
-- 
GitLab