[arch-commits] Commit in luacheck/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Wed Aug 24 14:41:29 UTC 2022
Date: Wednesday, August 24, 2022 @ 14:41:28
Author: alerque
Revision: 1276410
archrelease: copy trunk to community-any
Added:
luacheck/repos/community-any/PKGBUILD
(from rev 1276409, luacheck/trunk/PKGBUILD)
Deleted:
luacheck/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-24 14:41:20 UTC (rev 1276409)
+++ PKGBUILD 2022-08-24 14:41:28 UTC (rev 1276410)
@@ -1,35 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Simon Legner <Simon.Legner at gmail.com>
-# Contributor: Pieter Goetschalckx <3.14.e.ter at gmail dot com>
-
-pkgname=luacheck
-pkgver=0.26.1
-pkgrel=1
-_rockrel=1
-pkgdesc='A tool for linting and static analysis of Lua code'
-arch=(any)
-url="https://github.com/lunarmodules/$pkgname"
-license=(MIT)
-depends=(lua
- lua-filesystem
- lua-argparse)
-makedepends=(luarocks)
-optdepends=('lua-lanes: for parallel checking')
-_archive="$pkgname-$pkgver"
-_rock="$_archive-$_rockrel.all.rock"
-_rockspec="$_archive-$_rockrel.rockspec"
-source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('8e0af04186a08e115e849962b0c968b0a0d4f413ef8e6911f44704910d271b65')
-
-build() {
- cd "$_archive"
- luarocks make --pack-binary-rock --deps-mode none -- rockspecs/$_rockspec
-}
-
-package() {
- cd "$_archive"
- luarocks --tree "$pkgdir/usr" \
- install --deps-mode none --no-manifest -- $_rock
- sed -i -e "s!$pkgdir!!" "$pkgdir/usr/bin/$pkgname"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: luacheck/repos/community-any/PKGBUILD (from rev 1276409, luacheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-24 14:41:28 UTC (rev 1276410)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Simon Legner <Simon.Legner at gmail.com>
+# Contributor: Pieter Goetschalckx <3.14.e.ter at gmail dot com>
+
+pkgname=luacheck
+pkgver=1.0.0
+pkgrel=1
+_rockrel=1
+pkgdesc='A tool for linting and static analysis of Lua code'
+arch=(any)
+url="https://github.com/lunarmodules/$pkgname"
+license=(MIT)
+depends=(lua
+ lua-filesystem
+ lua-argparse)
+makedepends=(luarocks)
+optdepends=('lua-lanes: for parallel checking')
+_archive="$pkgname-$pkgver"
+_rock="$_archive-$_rockrel.all.rock"
+_rockspec="$_archive-$_rockrel.rockspec"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('360586c7b51aa1f368e6f14c9697a576cf902d55d44ef0bd0cd4b082b10700a8')
+
+build() {
+ cd "$_archive"
+ luarocks make --pack-binary-rock --deps-mode none -- rockspecs/$_rockspec
+}
+
+package() {
+ cd "$_archive"
+ luarocks --tree "$pkgdir/usr" \
+ install --deps-mode none --no-manifest -- $_rock
+ sed -i -e "s!$pkgdir!!" "$pkgdir/usr/bin/$pkgname"
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}
More information about the arch-commits
mailing list