aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-filesystem
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-01 20:26:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-01 20:26:39 +0000
commitb6024f31cfe113dfd8adcc31af4061bd446e5930 (patch)
treedd52a3c9dfda0d4486d8d22b2b5809e7d6d0d5be /main/lua-filesystem
parentf27038ee8e70f9fac545fbde54926cca0087d14b (diff)
downloadaports-b6024f31cfe113dfd8adcc31af4061bd446e5930.tar.bz2
aports-b6024f31cfe113dfd8adcc31af4061bd446e5930.tar.xz
main/lua-filesystem: upgrade to 1.6.3
Diffstat (limited to 'main/lua-filesystem')
-rw-r--r--main/lua-filesystem/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/main/lua-filesystem/APKBUILD b/main/lua-filesystem/APKBUILD
index 5a81bbaa06..f0184ec573 100644
--- a/main/lua-filesystem/APKBUILD
+++ b/main/lua-filesystem/APKBUILD
@@ -1,16 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_luaversions="5.1 5.2"
-_defaultlua="5.1"
+_luaversions="5.1 5.2 5.3"
pkgname=lua-filesystem
-pkgver=1.6.2
-pkgrel=3
+pkgver=1.6.3
+pkgrel=0
pkgdesc="Filesystem functions for Lua"
-url="http://www.keplerproject.org/luafilesystem/"
+url="http://keplerproject.github.io/luafilesystem/"
arch="all"
license="GPL"
-depends="lua$_defaultlua-filesystem"
+depends=""
install=
makedepends=""
@@ -19,9 +18,9 @@ for _i in $_luaversions; do
makedepends="$makedepends lua$_i-dev"
subpackages="$subpackages lua$_i-filesystem:split_${_i/./_}"
done
-source="https://github.com/downloads/keplerproject/luafilesystem/luafilesystem-$pkgver.tar.gz"
+source="luafilesystem-$pkgver.tar.gz::https://github.com/keplerproject/luafilesystem/archive/v_${pkgver//./_}.tar.gz"
-_sdir="$srcdir"/luafilesystem-$pkgver
+_sdir="$srcdir"/luafilesystem-v_${pkgver//./_}
prepare() {
cd "$_sdir"
@@ -51,7 +50,7 @@ package() {
_split() {
local d= _ver=$1
pkgdesc="Filesystem functions for Lua $_ver"
- replaces="$pkgname"
+ install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
depends=
for d in usr/lib/lua usr/share/lua; do
if [ -d "$pkgdir"/$d/$_ver ]; then
@@ -65,4 +64,6 @@ for _i in $_luaversions; do
eval "split_${_i/./_}() { _split $_i; }"
done
-md5sums="4e7ec93678c760c4e42cea7d28aafa13 luafilesystem-1.6.2.tar.gz"
+md5sums="d0552c7e5a082f5bb2865af63fb9dc95 luafilesystem-1.6.3.tar.gz"
+sha256sums="5525d2b8ec7774865629a6a29c2f94cb0f7e6787987bf54cd37e011bfb642068 luafilesystem-1.6.3.tar.gz"
+sha512sums="abfa1b3ac22ed80189560a1a025a7ea21a954defe14e5b539e08f266d180962a691262efc7eb2ddacc2d4aae14d6e356b1a276165b5bed46a13e4d6c61ab99f1 luafilesystem-1.6.3.tar.gz"