aboutsummaryrefslogtreecommitdiffstats
path: root/main/graphviz/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-01-05 00:51:16 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-01-05 01:14:28 +0100
commit81f5e86821537dafc738cd51e94889621c11bc5e (patch)
tree80b0dce1440f6bc883492dc68c193ad2e4dd4c09 /main/graphviz/APKBUILD
parent1b7a54f0e71c6f7449a641078e3deb5d5ccda34d (diff)
downloadaports-81f5e86821537dafc738cd51e94889621c11bc5e.tar.bz2
aports-81f5e86821537dafc738cd51e94889621c11bc5e.tar.xz
main/graphviz: rename subpkg lua-graphviz to lua5.3-graphviz
Diffstat (limited to 'main/graphviz/APKBUILD')
-rw-r--r--main/graphviz/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD
index b86a5dfd37..832f14afbe 100644
--- a/main/graphviz/APKBUILD
+++ b/main/graphviz/APKBUILD
@@ -16,7 +16,7 @@ makedepends="$depends_dev flex swig python2-dev m4 libtool
bison gtk+2.0-dev lua$_luaver-dev libltdl tcl autoconf automake"
install="$pkgname.pre-deinstall"
triggers="$pkgname.trigger=/usr/lib/graphviz"
-subpackages="$pkgname-dev $pkgname-doc py-gv:py lua-$pkgname:_lua
+subpackages="$pkgname-dev $pkgname-doc py-gv:py lua$_luaver-$pkgname:_lua
$pkgname-gtk $pkgname-graphs::noarch"
source="$pkgname-$pkgver.tar.bz2::https://gitlab.com/graphviz/$pkgname/repository/stable_release_$pkgver/archive.tar.bz2
$pkgname.trigger
@@ -104,7 +104,9 @@ py() {
}
_lua() {
- pkgdesc="Lua5.3 extension for graphviz"
+ pkgdesc="Lua$_luaver extension for graphviz"
+ provides="lua-$pkgname=$pkgver-r$pkgrel" # for backward compatibility
+ replaces="lua-$pkgname" # for backward compatibility
mkdir -p "$subpkgdir"/usr/lib/graphviz \
"$subpkgdir"/usr/lib/lua