diff options
author | Pieter Goetschalckx | 2015-12-15 10:09:23 +0100 |
---|---|---|
committer | Pieter Goetschalckx | 2015-12-15 10:09:23 +0100 |
commit | 50b97ed3c37d109520a790c132bee580834dd344 (patch) | |
tree | fd874f7ca5b15254bf2b547521b8d040438f7d26 | |
parent | 78f3e8367d2efb574eb42c4379a52f294f82a9b3 (diff) | |
download | aur-50b97ed3c37d109520a790c132bee580834dd344.tar.gz |
Moved to /usr/share/lua/5.3/
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rwxr-xr-x | luacheck | 2 |
3 files changed, 11 insertions, 7 deletions
@@ -1,11 +1,13 @@ pkgbase = luacheck pkgdesc = A tool for linting and static analysis of Lua code. pkgver = 0.12.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mpeterv/luacheck arch = any license = MIT depends = lua + depends = lua-filesystem + depends = sh source = https://github.com/mpeterv/luacheck/archive/0.12.0.tar.gz source = luacheck sha256sums = 3f8306f5210eeac7dd3057cff7924b487229ebc15a595c0767715d3e4c300e47 @@ -2,22 +2,24 @@ pkgname=luacheck pkgver=0.12.0 -pkgrel=1 +pkgrel=2 pkgdesc="A tool for linting and static analysis of Lua code." arch=('any') url="https://github.com/mpeterv/luacheck" license=('MIT') -depends=('lua') +depends=('lua' 'lua-filesystem' 'sh') source=("https://github.com/mpeterv/$pkgname/archive/$pkgver.tar.gz" "luacheck") sha256sums=('3f8306f5210eeac7dd3057cff7924b487229ebc15a595c0767715d3e4c300e47' '5bbc0a1be3684c2691cf34aea8bc5538d819e3591ec3ec363bf4a911f53c8f78') package() { - install -Dm755 luacheck "$pkgdir/usr/bin/luacheck" - cd "$pkgname-$pkgver" - lua install.lua "$pkgdir/usr/share/luacheck" + + lua install.lua "$pkgdir/usr/share/lua/5.3/luacheck" + + install -Dm755 "$srcdir/luacheck" "$pkgdir/usr/bin/luacheck" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et: @@ -1,2 +1,2 @@ #!/bin/sh -exec /usr/share/luacheck/bin/luacheck "$@" +exec /usr/share/lua/5.3/luacheck/bin/luacheck "$@" |