[arch-commits] Commit in stylua/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Thu Jul 21 22:16:55 UTC 2022


    Date: Thursday, July 21, 2022 @ 22:16:55
  Author: polyzen
Revision: 1255074

archrelease: copy trunk to community-x86_64

Added:
  stylua/repos/community-x86_64/PKGBUILD
    (from rev 1255073, stylua/trunk/PKGBUILD)
Deleted:
  stylua/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-21 22:16:34 UTC (rev 1255073)
+++ PKGBUILD	2022-07-21 22:16:55 UTC (rev 1255074)
@@ -1,36 +0,0 @@
-# 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
-}

Copied: stylua/repos/community-x86_64/PKGBUILD (from rev 1255073, stylua/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-21 22:16:55 UTC (rev 1255074)
@@ -0,0 +1,36 @@
+# 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
+}



More information about the arch-commits mailing list