Date: Friday, April 1, 2022 @ 02:17:12 Author: polyzen Revision: 1178248
archrelease: copy trunk to community-x86_64 Added: stylua/repos/community-x86_64/PKGBUILD (from rev 1178247, stylua/trunk/PKGBUILD) Deleted: stylua/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-01 02:16:53 UTC (rev 1178247) +++ PKGBUILD 2022-04-01 02:17:12 UTC (rev 1178248) @@ -1,38 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> - -_name=StyLua -pkgname=stylua -pkgver=0.12.5 -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=('46ce79fb17570ad7507fdac8f7707ec0b22c2d6140f17dc6a1947e82c25065f12311e2c5f57679281ec2434d577c1d497c0f556cb667d218582044c9e4d51bef') - -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 1178247, stylua/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-01 02:17:12 UTC (rev 1178248) @@ -0,0 +1,38 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +_name=StyLua +pkgname=stylua +pkgver=0.13.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=('eb5168c089017ccfdc3113b95c1f783ceca41a927dc97c5f44a2ef7ac25eb5d37e1f91ca2ba135cc88f0bec4f4a43026368b5e96fa2193d092bbabe6fcae8473') + +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: