Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
luacheck


Commits:
b1f0266d by Caleb Maclennan at 2024-05-26T23:34:18+03:00
upgpkg: 1.2.0-2: Strip more instances of pkgdir from shell wrapper, fixes #1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = luacheck
        pkgdesc = A tool for linting and static analysis of Lua code
        pkgver = 1.2.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/lunarmodules/luacheck
        arch = any
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=luacheck
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 _rockrel=1
 pkgdesc='A tool for linting and static analysis of Lua code'
 arch=(any)
@@ -30,6 +30,6 @@ package() {
        cd "$_archive"
        luarocks --tree "$pkgdir/usr" \
                install --deps-mode none --no-manifest -- $_rock
-       sed -i -e "s!$pkgdir!!" "$pkgdir/usr/bin/$pkgname"
+       sed -i -e "s!$pkgdir!!g" "$pkgdir/usr/bin/$pkgname"
        install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/luacheck/-/commit/b1f0266dcca372cd4b92d712365fb7d0fb6f89d8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/luacheck/-/commit/b1f0266dcca372cd4b92d712365fb7d0fb6f89d8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to