aboutsummaryrefslogtreecommitdiffstats
path: root/testing/luajit/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-23 07:19:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-23 07:20:31 +0000
commit214228db58b119de7ac104219761415c082f72cb (patch)
tree76b3552be243674016141bad9204ba97d9a6bcf3 /testing/luajit/APKBUILD
parenteff340021913f77afe6a0f03d35bb17bd1ff59b2 (diff)
downloadaports-214228db58b119de7ac104219761415c082f72cb.tar.bz2
aports-214228db58b119de7ac104219761415c082f72cb.tar.xz
testing/luajit: reuse pkgver
This simplifies when upgrading.
Diffstat (limited to 'testing/luajit/APKBUILD')
-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"