[arch-commits] Commit in stylua/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Wed Jul 27 21:05:30 UTC 2022
Date: Wednesday, July 27, 2022 @ 21:05:30
Author: alerque
Revision: 1258954
archrelease: copy trunk to community-x86_64
Added:
stylua/repos/community-x86_64/PKGBUILD
(from rev 1258953, stylua/trunk/PKGBUILD)
Deleted:
stylua/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-27 21:05:22 UTC (rev 1258953)
+++ PKGBUILD 2022-07-27 21:05:30 UTC (rev 1258954)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=StyLua
-pkgname=stylua
-pkgver=0.14.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=('766d1ab5b43c4f1973c4ac668c13908fea7bd65cbe97c18859cc82da7dcd72caeda12fbc3264394959302c82a8462be444d6b07f22952a1a67acb0a6c24a9a10')
-
-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
-}
Copied: stylua/repos/community-x86_64/PKGBUILD (from rev 1258953, stylua/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-27 21:05:30 UTC (rev 1258954)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+
+_name=StyLua
+pkgname=stylua
+pkgver=0.14.2
+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=('c9be933d9e9a80d25695154f76a73dfdfb529ecbceaf56bceb04c6aede622afe8c88ad54fa46a9c23b70a112cb8a0903b71c8f7d5f132e609160bd73815b9833')
+
+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