aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/luajit/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/luajit/APKBUILD b/testing/luajit/APKBUILD
index f79106929d..7646ed1ba3 100644
--- a/testing/luajit/APKBUILD
+++ b/testing/luajit/APKBUILD
@@ -3,7 +3,7 @@
pkgname=luajit
_pkgname=LuaJIT
pkgver=2.0.0_beta8
-_pkgver=2.0.0-beta8
+_pkgver=${pkgver//_/-}
pkgrel=0
pkgdesc="Just-In-Time Compiler for the Lua programming language"
url="http://luajit.org"
@@ -26,7 +26,7 @@ build() {
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" PREFIX=/usr || return 1
- ln -sf /usr/bin/luajit-2.0.0-beta8 $pkgdir/usr/bin/luajit
+ ln -sf /usr/bin/luajit-${_pkgver} $pkgdir/usr/bin/luajit
}
md5sums="f0748a73ae268d49b1d01f56c4fe3e61 LuaJIT-2.0.0-beta8.tar.gz"