aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-13 15:54:53 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-13 16:06:12 -0300
commit8558124e2b0b765a5332ebba57bb9d0515ffcea0 (patch)
treef12d779839b8511b79d2eb7e63319204ec6ad386
parentf65d3371583ed136455310ea67d37c9f9c28dccd (diff)
downloadaports-8558124e2b0b765a5332ebba57bb9d0515ffcea0.tar.bz2
aports-8558124e2b0b765a5332ebba57bb9d0515ffcea0.tar.xz
testing/lua-linenoise: upgrade to 0.9
-rw-r--r--testing/lua-linenoise/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/lua-linenoise/APKBUILD b/testing/lua-linenoise/APKBUILD
index d4f2e53762..53a7b4b878 100644
--- a/testing/lua-linenoise/APKBUILD
+++ b/testing/lua-linenoise/APKBUILD
@@ -1,20 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-linenoise
-pkgver=0.8
+pkgver=0.9
pkgrel=0
pkgdesc="Lua bindings for linenoise"
url="https://github.com/hoelzro/lua-linenoise"
arch="all"
license="MIT"
makedepends="linenoise-dev"
-subpackages=""
source="lua-linenoise-$pkgver.tar.gz::https://github.com/hoelzro/lua-linenoise/archive/$pkgver.tar.gz"
-builddir="$srcdir/lua-linenoise-$pkgver"
_luaversions="5.1 5.2 5.3"
for _v in $_luaversions; do
- subpackages="$subpackages lua${_v}-${pkgname#lua-}:_subpackage"
- makedepends="$makedepends lua${_v}-dev"
+ subpackages="$subpackages lua$_v-${pkgname#lua-}:_subpackage"
+ makedepends="$makedepends lua$_v-dev"
done
build() {
@@ -39,7 +37,7 @@ _subpackage() {
install_if="$pkgname=$pkgver-r$pkgrel $lua"
install -m 644 -D "$srcdir"/build-$lver/linenoise.so \
- "$subpkgdir"/usr/lib/lua/${lver}/linenoise.so
+ "$subpkgdir"/usr/lib/lua/$lver/linenoise.so
}
-sha512sums="7d4476570a3de054916047e201f8eabf2f1d4f8c0a6a5fa492dd477c580c81607a536a79c7a73a7f63ceeda0d6554a41f4f353ae34bb1d978679bc0aa5a757c4 lua-linenoise-0.8.tar.gz"
+sha512sums="24cecd36329f74f36026c81afe1b7a9a3213d35c9cdc433e21f45bc4867be9537d61807ecb7344d789585a80a06c4f4d2de2412aab130e84adf817b56ecd0ea5 lua-linenoise-0.9.tar.gz"