aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-posix')
-rw-r--r--main/lua-posix/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD
index 2e206e6119..6bd66bde49 100644
--- a/main/lua-posix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-posix
_name=luaposix
-pkgver=5.1.23
+pkgver=5.1.26
pkgrel=0
pkgdesc="POSIX library for Lua"
url="https://github.com/luaposix/luaposix"
@@ -9,12 +9,12 @@ arch="all"
license="MIT"
depends="lua lua-bitlib"
makedepends="lua-dev perl ncurses-dev"
-source="https://github.com/downloads/luaposix/luaposix/luaposix-$pkgver.tar.gz"
+source="luaposix-$pkgver.tar.gz::https://github.com/luaposix/luaposix/archive/release-v$pkgver.tar.gz"
replaces="luaposix"
-subpackages="curses"
+subpackages="lua-curses $pkgname-doc"
-_builddir="$srcdir"/$_name-$pkgver
+_builddir="$srcdir"/$_name-release-v$pkgver
_lualib=/usr/lib/lua/5.1
_luashare=/usr/share/lua/5.1
@@ -35,8 +35,11 @@ package() {
curses() {
pkgdesc="ncurses binding for Lua"
+ replaces="curses"
mkdir -p "$subpkgdir"/$_lualib "$subpkgdir"/$_luashare
mv "$pkgdir"/$_lualib/curses* "$subpkgdir"/$_lualib/ || return 1
mv "$pkgdir"/$_luashare/curses* "$subpkgdir"/$_luashare/ || return 1
}
-md5sums="ebe7d335741ca736e003a6844a0fbf92 luaposix-5.1.23.tar.gz"
+md5sums="26018f1e581e24d2875e848a77d03139 luaposix-5.1.26.tar.gz"
+sha256sums="8de25b0013cc97ccf5ccd8b23012a548fb8ed682d8d95c849c3798bdfbda9866 luaposix-5.1.26.tar.gz"
+sha512sums="48e8a7ab8752d0a87326226813c1feb4f76596c568eb657777c8861837fd036835107c1ef7125d9512d42326ce560249057a791e99c36e29228fae665443fb59 luaposix-5.1.26.tar.gz"