summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Dubois2017-06-12 11:29:15 -0400
committerErik Dubois2017-06-12 11:29:15 -0400
commita671258ea9437f8147ce8bb4025d46340cc905b3 (patch)
treef998678d2b0c61c9e61fda313286f51fead0b74c
downloadaur-a671258ea9437f8147ce8bb4025d46340cc905b3.tar.gz
initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD23
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8db7ae73b9f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Mon Jun 12 15:29:11 UTC 2017
+pkgbase = lua51-luacheck
+ pkgdesc = A simple static analyzer
+ pkgver = 0.20.0
+ pkgrel = 1
+ url = https://github.com/mpeterv/luacheck
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = luarocks5.1
+ depends = lua
+ depends = lua-filesystem
+ source = https://luarocks.org/luacheck-0.20.0-1.src.rock
+ sha256sums = a23664b495f14ddb81d6e2bb35fea02885130751de4fc6f8e341fcc79b82be11
+
+pkgname = lua51-luacheck
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..42092b48cdf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+#Maintainer: Solomon Choina <shlomochoina@gmail.com>
+
+pkgname=lua51-luacheck
+pkgver=0.20.0
+_rockname=luacheck
+_rockrel=1
+pkgrel=1
+pkgdesc="A simple static analyzer"
+arch=('i686' 'x86_64')
+url="https://github.com/mpeterv/luacheck"
+license=('MIT')
+depends=('lua' 'lua-filesystem')
+makedepends=('luarocks5.1')
+conflicts=()
+source=("https://luarocks.org/${_rockname}-${pkgver}-${_rockrel}.src.rock")
+sha256sums=('a23664b495f14ddb81d6e2bb35fea02885130751de4fc6f8e341fcc79b82be11')
+
+package() {
+ luarocks --tree="$pkgdir/usr" install --deps-mode=none "${_rockname}-${pkgver}-${_rockrel}.src.rock"
+ find "$pkgdir/usr" -name manifest -delete
+
+}
+