From 214228db58b119de7ac104219761415c082f72cb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 23 Nov 2011 07:19:28 +0000 Subject: testing/luajit: reuse pkgver This simplifies when upgrading. --- testing/luajit/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/luajit/APKBUILD') 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" -- cgit v1.2.3