aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-11 19:13:16 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-11 19:13:23 +0000
commit85549a3a35d6312ff5139e212fe14907d3666846 (patch)
treed992efba64aa3c36428c441dc540301ccc1ed3c7
parent8aac3e365b70bdc1010141cc28a9a1051d3b7037 (diff)
downloadaports-85549a3a35d6312ff5139e212fe14907d3666846.tar.bz2
aports-85549a3a35d6312ff5139e212fe14907d3666846.tar.xz
main/luajit: upgrade to 2.1.0_beta2
-rw-r--r--main/luajit/APKBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/main/luajit/APKBUILD b/main/luajit/APKBUILD
index a4fa728d94..87affb348b 100644
--- a/main/luajit/APKBUILD
+++ b/main/luajit/APKBUILD
@@ -2,7 +2,8 @@
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=luajit
-pkgver=2.0.4
+pkgver=2.1.0_beta2
+_realver=${pkgver/_/-}
pkgrel=0
pkgdesc='Just-in-time compiler and replacement for Lua 5.1 '
url='http://luajit.org'
@@ -10,9 +11,9 @@ arch="all"
license="MIT"
makedepends="$depends_dev paxmark"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://luajit.org/download/LuaJIT-$pkgver.tar.gz"
+source="http://luajit.org/download/LuaJIT-$_realver.tar.gz"
-_builddir=$srcdir/LuaJIT-$pkgver
+_builddir=$srcdir/LuaJIT-$_realver
build() {
cd "$_builddir"
@@ -25,12 +26,14 @@ package() {
local paxflags="-m"
[ "$CARCH" = "x86" ] && paxflags="-msp"
- paxmark "$paxflags" "$pkgdir"/usr/bin/luajit-$pkgver || return 1
+ paxmark "$paxflags" "$pkgdir"/usr/bin/luajit-$_realver || return 1
+
+ cd "$pkgdir"/usr/bin && ln -s luajit-$_realver luajit || return 1
install -Dm644 "$_builddir"/COPYRIGHT \
$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
}
-md5sums="dd9c38307f2223a504cbfb96e477eca0 LuaJIT-2.0.4.tar.gz"
-sha256sums="620fa4eb12375021bef6e4f237cbd2dd5d49e56beb414bee052c746beef1807d LuaJIT-2.0.4.tar.gz"
-sha512sums="a72957bd85d8f457269e78bf08c19b28c5707df5d19920d61918f8a6913f55913ce13037fb9a6463c04cefde0c6644739f390e09d656e4bbc2c236927aa3f8f9 LuaJIT-2.0.4.tar.gz"
+md5sums="fa14598d0d775a7ffefb138a606e0d7b LuaJIT-2.1.0-beta2.tar.gz"
+sha256sums="713924ca034b9d99c84a0b7b701794c359ffb54f8e3aa2b84fad52d98384cf47 LuaJIT-2.1.0-beta2.tar.gz"
+sha512sums="ef04db5bee66a6e24da8d488df2c035c9593792dca4cb49955d673281a7c7b00ab40f4a63e699959461da7fb0732cf81ec46808c33b66ae1eaca4ef94d0b61e3 LuaJIT-2.1.0-beta2.tar.gz"