summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2021-09-16 23:54:21 +0300
committerCaleb Maclennan2021-09-16 23:54:21 +0300
commitecf7b8ac0e62806df258ffd497fd3fb60e91a788 (patch)
treebea1852f450cc1b248bb5e53bc73cb1e8a120ac9
parent6b3c3ad6e22d782dc30d43dc861778aa01ed962b (diff)
downloadaur-ecf7b8ac0e62806df258ffd497fd3fb60e91a788.tar.gz
upgpkg: lua-posix 35.1-2
Fix Lua deps
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD9
2 files changed, 15 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c60b72aad1..9dce4e9264c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lua-posix
pkgdesc = POSIX bindings for Lua
pkgver = 35.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/luaposix/luaposix
arch = x86_64
arch = i686
@@ -15,9 +15,17 @@ pkgbase = lua-posix
sha256sums = 1b5c48d2abd59de0738d1fc1e6204e44979ad2a1a26e8e22a2d6215dd502c797
pkgname = lua-posix
+ depends = lua
+ depends = lua-std-normalize
pkgname = lua51-posix
+ depends = lua51
+ depends = lua51-std-normalize
pkgname = lua52-posix
+ depends = lua52
+ depends = lua52-std-normalize
pkgname = lua53-posix
+ depends = lua53
+ depends = lua53-std-normalize
diff --git a/PKGBUILD b/PKGBUILD
index b63f189547e..e9e56bdbd21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,12 @@ _pkgbase="${pkgbase//-}"
pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
pkgver=35.1
_rockrel=1
-pkgrel=1
+pkgrel=2
pkgdesc='POSIX bindings for Lua'
arch=(x86_64 i686)
url="https://github.com/$_pkgbase/$_pkgbase"
license=(MIT)
-_lua_deps=(std-normalize)
+_luadeps=(std-normalize)
makedepends=(lua
lua51
lua52
@@ -24,24 +24,27 @@ sha256sums=('1b5c48d2abd59de0738d1fc1e6204e44979ad2a1a26e8e22a2d6215dd502c797')
_package() {
cd "$_archive"
- depends=("${pkgname%-*}" "${_luadeps[@]/#/${pkgname%-*}-}")
luarocks --lua-version="$1" --tree="$pkgdir/usr/" \
make --deps-mode=none --no-manifest "$_archive-$_rockrel.rockspec"
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
package_lua-posix() {
+ depends=("${pkgname%-*}" "${_luadeps[@]/#/${pkgname%-*}-}")
_package 5.4
}
package_lua51-posix() {
+ depends=("${pkgname%-*}" "${_luadeps[@]/#/${pkgname%-*}-}")
_package 5.1
}
package_lua52-posix() {
+ depends=("${pkgname%-*}" "${_luadeps[@]/#/${pkgname%-*}-}")
_package 5.2
}
package_lua53-posix() {
+ depends=("${pkgname%-*}" "${_luadeps[@]/#/${pkgname%-*}-}")
_package 5.3
}