# Maintainer: Pieter Goetschalckx <3.14.e.ter at gmail dot com> pkgname=luacheck pkgver=0.12.0 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' 'lua-filesystem' 'sh') source=("https://github.com/mpeterv/$pkgname/archive/$pkgver.tar.gz" "luacheck") sha256sums=('3f8306f5210eeac7dd3057cff7924b487229ebc15a595c0767715d3e4c300e47' 'fefc290dbea67b126b2fbdc0ae08f990b6561ec97f0c86bb53fbdd5cb27de201') package() { cd "$pkgname-$pkgver" 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: