summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Choina2018-08-15 06:31:26 -0400
committerSolomon Choina2018-08-15 06:31:26 -0400
commit843b0333981e62d1ef3766b9471da9391e831267 (patch)
tree4edd748b1a7b13d40838c0a9b8c907eec9c55d0c
parent1dc34930266d3252727c3b98fb49d8f7eeb901d3 (diff)
downloadaur-843b0333981e62d1ef3766b9471da9391e831267.tar.gz
this should fix people's problems
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 30890b40495..428c451c6ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lua51-luacheck
pkgdesc = A simple static analyzer
pkgver = 0.21.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mpeterv/luacheck
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 02562c8de82..b98f919626f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=lua51-luacheck
pkgver=0.21.2
-pkgrel=1
+pkgrel=2
pkgdesc="A simple static analyzer"
arch=('i686' 'x86_64')
url="https://github.com/mpeterv/luacheck"
@@ -16,8 +16,8 @@ sha256sums=('b1528bd73dc0da2c36dc3f93110a83362553546c2f5a354be0c0162149eb1abc'
'b75ff5098951e643061279780c4608049656149c76651d9dd78762e2cecd7584')
package() {
- cd ${srcdir}/luacheck-$pkgver
- luarocks-5.1 --tree="$pkgdir/usr" install --deps-mode=none "luacheck-scm-1.rockspec"
+ cd ${srcdir}/luacheck-$pkgver
+ luarocks-5.1 --tree="$pkgdir/usr" make --deps-mode=none "luacheck-scm-1.rockspec"
find "$pkgdir/usr" -name manifest -delete
install ../luacheck $pkgdir/usr/bin
}