summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXabre2018-10-07 11:33:27 +0200
committerXabre2018-10-07 11:33:27 +0200
commitb0d051afb625d1b64a33bcfd730e103a176b743c (patch)
tree146afa64553d10fa50ebc2c4bcbdc7e02dd56d7f /PKGBUILD
downloadaur-b0d051afb625d1b64a33bcfd730e103a176b743c.tar.gz
Initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e2df11ddb74
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Xabre <Xabre@archlinux.info>
+
+pkgname=lua-yajl
+pkgver=2.0
+_rockname=lua-yajl
+_rockrel=1
+pkgrel=1
+pkgdesc="Integrate the yajl JSON library with Lua."
+arch=('i686' 'x86_64')
+url="https://luarocks.org/modules/brimworks/lua-yajl"
+license=('GPL')
+depends=('lua51')
+makedepends=('luarocks5.1')
+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"
+ find "$pkgdir/usr" -name manifest -delete
+}
+