summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXabre2019-03-17 13:20:39 +0100
committerXabre2019-03-17 13:20:39 +0100
commit59a135eccc323636aea31ca550ef145e2506da73 (patch)
tree2f66fa9d52d139776dc3199b68211fce1b09a59f /PKGBUILD
parent37624175bca89368ebe91c3a65bd7d89de59b43d (diff)
downloadaur-lua-yajl.tar.gz
Luarocks dep change
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
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
}