summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXabre2019-03-17 13:20:39 +0100
committerXabre2019-03-17 13:20:39 +0100
commit59a135eccc323636aea31ca550ef145e2506da73 (patch)
tree2f66fa9d52d139776dc3199b68211fce1b09a59f
parent37624175bca89368ebe91c3a65bd7d89de59b43d (diff)
downloadaur-59a135eccc323636aea31ca550ef145e2506da73.tar.gz
Luarocks dep change
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e7dbcc385c3..69be888dcf0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = lua-yajl
pkgdesc = Integrate the yajl JSON library with Lua.
pkgver = 2.0
- pkgrel = 1
+ pkgrel = 2
url = https://luarocks.org/modules/brimworks/lua-yajl
arch = i686
arch = x86_64
license = GPL
- makedepends = luarocks5.1
+ makedepends = luarocks
depends = lua51
depends = yajl
source = https://luarocks.org/manifests/brimworks/lua-yajl-2.0-1.src.rock
diff --git a/PKGBUILD b/PKGBUILD
index 60a29e4d402..326d1869564 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,19 +4,19 @@ pkgname=lua-yajl
pkgver=2.0
_rockname=lua-yajl
_rockrel=1
-pkgrel=1
+pkgrel=2
pkgdesc="Integrate the yajl JSON library with Lua."
arch=('i686' 'x86_64')
url="https://luarocks.org/modules/brimworks/lua-yajl"
license=('GPL')
depends=('lua51' 'yajl')
-makedepends=('luarocks5.1')
+makedepends=('luarocks')
conflicts=()
source=("https://luarocks.org/manifests/brimworks/${_rockname}-${pkgver}-${_rockrel}.src.rock")
sha256sums=('8e5c5bde4ae4aac336c5ce6da2aef94bf4f69f37e921d718647914bd5328552f')
package() {
- luarocks-5.1 --tree="$pkgdir/usr" install --deps-mode=none "${_rockname}-${pkgver}-${_rockrel}.src.rock"
+ luarocks --lua-version=5.1 --tree="$pkgdir/usr" install --deps-mode=none "${_rockname}-${pkgver}-${_rockrel}.src.rock"
find "$pkgdir/usr" -name manifest -delete
}