summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaxime “pep” Buquet2018-09-23 20:42:16 +0100
committerSimon Legner2018-10-01 22:41:20 +0200
commit05f83bc59a74da7659f228813df0c2dcd05361d6 (patch)
tree3638f9bb0eb32c714f58c2b10b511ddaca6c8dd0 /PKGBUILD
parentc96b963d5acc52b1094fe0c4692e1d1f9a39d45d (diff)
downloadaur-05f83bc59a74da7659f228813df0c2dcd05361d6.tar.gz
Fix stages submodule not being created
Signed-off-by: Maxime “pep” Buquet <archlinux@bouah.net>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b26bfd3126e..9ecc4527c23 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=luacheck
pkgver=0.23.0
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for linting and static analysis of Lua code."
arch=('any')
url="https://github.com/mpeterv/luacheck"
@@ -15,8 +15,9 @@ sha256sums=('b4edf3a7702519502696d4ac7372ed1bd6a82ded63bf81f2b1d7e9b37711be2b')
package() {
cd "$pkgname-$pkgver"
- mkdir -p "$pkgdir/usr/share/lua/5.3/luacheck"
- install -Dm644 $(find "src/luacheck" -type f) "$pkgdir/usr/share/lua/5.3/luacheck"
+ mkdir -p "$pkgdir/usr/share/lua/5.3/luacheck/stages"
+ find src/luacheck -maxdepth 1 -type f -exec install -Dm644 {} "$pkgdir/usr/share/lua/5.3/luacheck" \;
+ find src/luacheck/stages -maxdepth 1 -type f -exec install -Dm644 {} "$pkgdir/usr/share/lua/5.3/luacheck/stages" \;
install -Dm755 "bin/luacheck.lua" "$pkgdir/usr/bin/luacheck"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}