Date: Monday, October 31, 2022 @ 12:53:16
Author: alerque
Revision: 1339802
archrelease: copy trunk to community-x86_64
Added:
stylua/repos/community-x86_64/PKGBUILD
(from rev 1339801, stylua/trunk/PKGBUILD)
Deleted:
stylua/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 76 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 37 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-31 12:53:07 UTC (rev 1339801)
+++ PKGBUILD 2022-10-31 12:53:16 UTC (rev 1339802)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-
-_name=StyLua
-pkgname=stylua
-pkgver=0.15.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=('a2a3fb883ef475c8685cb9a647a241306d4b696b326b4a2a38a6ec3eb43a05486c394842db9721bf8d2b0a5038d30a0863ab075b1d9091f48a48bdfb1a72babe')
-
-prepare() {
- cd $_name-$pkgver
- # 0.14.3 lockfile out of sync, see
https://github.com/JohnnyMorganz/StyLua/issues/556
- cargo update
- 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 1339801,
stylua/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-31 12:53:16 UTC (rev 1339802)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+
+_name=StyLua
+pkgname=stylua
+pkgver=0.15.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=('6cc582b93b7f3e3517c51c8c83f390e75dbbf78aca611d41206458d36e0a368b3d4d32b7ff86ecddc0adc9057d3c30b9780b7c96378da3bb5b378744825e49d4')
+
+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
+}