aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-binaryheap
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-02-22 23:47:45 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-02-22 23:49:34 +0100
commitf21cc51c4208f76c72f665314d9ae8051d74a3c4 (patch)
tree4f2c83053f66cda95b7bec1bda1efef9bcc401aa /community/lua-binaryheap
parent795e06d487e2bdba2a0be9fc4183deb03efcc91a (diff)
downloadaports-f21cc51c4208f76c72f665314d9ae8051d74a3c4.tar.bz2
aports-f21cc51c4208f76c72f665314d9ae8051d74a3c4.tar.xz
community/lua-binaryheap: add $provides for each lua version
Diffstat (limited to 'community/lua-binaryheap')
-rw-r--r--community/lua-binaryheap/APKBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/community/lua-binaryheap/APKBUILD b/community/lua-binaryheap/APKBUILD
index d5014e6a48..a6873d7fc2 100644
--- a/community/lua-binaryheap/APKBUILD
+++ b/community/lua-binaryheap/APKBUILD
@@ -11,6 +11,7 @@ arch="noarch"
license="MIT"
depends="lua"
checkdepends="lua-busted"
+provides=""
source="https://github.com/Tieske/binaryheap.lua/archive/version_$_pkgver/binaryheap.lua-$pkgver.tar.gz"
builddir="$srcdir/binaryheap.lua-version_$_pkgver"
@@ -23,6 +24,7 @@ esac
_luaversions="5.1 5.2 5.3"
for _v in $_luaversions; do
checkdepends="$checkdepends lua$_v lua$_v-busted"
+ provides="$provides lua$_v-${pkgname#lua-}=$pkgver-r$pkgrel"
done
prepare() {