[arch-commits] Commit in stylua/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Jul 6 23:13:49 UTC 2022
Date: Wednesday, July 6, 2022 @ 23:13:49
Author: polyzen
Revision: 1247143
archrelease: copy trunk to community-x86_64
Added:
stylua/repos/community-x86_64/PKGBUILD
(from rev 1247142, stylua/trunk/PKGBUILD)
Deleted:
stylua/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 36 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-06 23:13:23 UTC (rev 1247142)
+++ PKGBUILD 2022-07-06 23:13:49 UTC (rev 1247143)
@@ -1,38 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=StyLua
-pkgname=stylua
-pkgver=0.13.1
-pkgrel=1
-pkgdesc='Code formatter for Lua'
-arch=('x86_64')
-url=https://github.com/JohnnyMorganz/StyLua
-license=('MPL2')
-depends=('gcc-libs')
-makedepends=('rust')
-source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
-b2sums=('dc009099818c30f05a7e33c3ff3a68d215e78c1534c1a542bbb26a1f4ea2fd361382a67a5abe3c26ea7b32d39914535349aca76df8b2e6a169aa3824b69a1c27')
-
-prepare() {
- cd $_name-$pkgver
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd $_name-$pkgver
- cargo build --release --locked --offline --all-features
-}
-
-check() {
- cd $_name-$pkgver
- cargo test --locked --offline
- cargo test --locked --offline --features luau
- cargo test --locked --offline --features lua52
-}
-
-package() {
- cd $_name-$pkgver
- install -Dt "$pkgdir"/usr/bin target/release/$pkgname
-}
-
-# vim:set ts=2 sw=2 et:
Copied: stylua/repos/community-x86_64/PKGBUILD (from rev 1247142, stylua/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-06 23:13:49 UTC (rev 1247143)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=StyLua
+pkgname=stylua
+pkgver=0.14.0
+pkgrel=1
+pkgdesc='Code formatter for Lua'
+arch=('x86_64')
+url=https://github.com/JohnnyMorganz/StyLua
+license=('MPL2')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
+b2sums=('67e9c83b3ea22dca1375d1277f45bfd8cfba451abe6b6dd45459ed7ac55497f5947cfa152c17ef5e620220e34dfc5aafd383813a62cfab1dff10a0a56d512aec')
+
+prepare() {
+ cd $_name-$pkgver
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd $_name-$pkgver
+ cargo build --release --locked --offline --all-features
+}
+
+check() {
+ cd $_name-$pkgver
+ cargo test --locked --offline
+ cargo test --locked --offline --features luau
+ cargo test --locked --offline --features lua52
+}
+
+package() {
+ cd $_name-$pkgver
+ install -Dt "$pkgdir"/usr/bin target/release/$pkgname
+}
More information about the arch-commits
mailing list