Date: Sunday, March 12, 2023 @ 20:49:49 Author: orhun Revision: 1419469
archrelease: copy trunk to community-x86_64 Added: cargo-zigbuild/repos/community-x86_64/PKGBUILD (from rev 1419468, 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-03-12 20:47:56 UTC (rev 1419468) +++ PKGBUILD 2023-03-12 20:49:49 UTC (rev 1419469) @@ -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.2 -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=('2e9fb6d1132f863e7a3eecce09e041bf8d43144529e334c9ad50be989664aecc') - -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 1419468, cargo-zigbuild/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-03-12 20:49:49 UTC (rev 1419469) @@ -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.3 +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=('ebfc5a2462626082d2c784e735c038a9e174abbe0b20b9d2cb185add125ee95a') + +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: