Date: Saturday, April 15, 2023 @ 16:04:26 Author: orhun Revision: 1446163
archrelease: copy trunk to community-x86_64 Added: cargo-zigbuild/repos/community-x86_64/PKGBUILD (from rev 1446162, cargo-zigbuild/trunk/PKGBUILD) Deleted: cargo-zigbuild/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-15 16:04:04 UTC (rev 1446162) +++ PKGBUILD 2023-04-15 16:04:26 UTC (rev 1446163) @@ -1,38 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net> - -pkgname=cargo-zigbuild -pkgver=0.16.6 -pkgrel=1 -pkgdesc="Compile Cargo project with zig as linker" -arch=('x86_64') -url="https://github.com/rust-cross/cargo-zigbuild" -license=('MIT') -depends=('gcc-libs' 'zig') -makedepends=('cargo') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('96a710f9a0368017e80294d96b457a2dc891da4ef2cdcfabfbd600804cab916f') - -prepare() { - cd "$pkgname-$pkgver" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "$pkgname-$pkgver" - cargo build --release --frozen -} - -check() { - cd "$pkgname-$pkgver" - cargo test --frozen -} - -package() { - cd "$pkgname-$pkgver" - install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin" - install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" - install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" -} - -# vim: ts=2 sw=2 et: Copied: cargo-zigbuild/repos/community-x86_64/PKGBUILD (from rev 1446162, cargo-zigbuild/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-15 16:04:26 UTC (rev 1446163) @@ -0,0 +1,38 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net> + +pkgname=cargo-zigbuild +pkgver=0.16.7 +pkgrel=1 +pkgdesc="Compile Cargo project with zig as linker" +arch=('x86_64') +url="https://github.com/rust-cross/cargo-zigbuild" +license=('MIT') +depends=('gcc-libs' 'zig') +makedepends=('cargo') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('c9c2291b6b47742722288d4d7a24ed6d572a66463df0c946a02fecec67adb144') + +prepare() { + cd "$pkgname-$pkgver" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "$pkgname-$pkgver" + cargo build --release --frozen +} + +check() { + cd "$pkgname-$pkgver" + cargo test --frozen +} + +package() { + cd "$pkgname-$pkgver" + install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" +} + +# vim: ts=2 sw=2 et: