aboutsummaryrefslogtreecommitdiffstats
path: root/main/graphviz/APKBUILD
diff options
context:
space:
mode:
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