Date: Friday, October 14, 2022 @ 15:04:18 Author: orhun Revision: 1328579
archrelease: copy trunk to community-x86_64 Added: cargo-zigbuild/repos/community-x86_64/PKGBUILD (from rev 1328578, cargo-zigbuild/trunk/PKGBUILD) Deleted: cargo-zigbuild/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-10-14 15:03:52 UTC (rev 1328578) +++ PKGBUILD 2022-10-14 15:04:18 UTC (rev 1328579) @@ -1,38 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net> - -pkgname=cargo-zigbuild -pkgver=0.13.0 -pkgrel=1 -pkgdesc="Compile Cargo project with zig as linker" -arch=('x86_64') -url="https://github.com/messense/cargo-zigbuild" -license=('MIT') -depends=('gcc-libs' 'zig') -makedepends=('cargo') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('ac06a0a95347c47598ebb470e717ac7b143f90e4061c7ec2bfd8c15a2024c68c') - -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 1328578, cargo-zigbuild/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-10-14 15:04:18 UTC (rev 1328579) @@ -0,0 +1,38 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net> + +pkgname=cargo-zigbuild +pkgver=0.14.0 +pkgrel=1 +pkgdesc="Compile Cargo project with zig as linker" +arch=('x86_64') +url="https://github.com/messense/cargo-zigbuild" +license=('MIT') +depends=('gcc-libs' 'zig') +makedepends=('cargo') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('f8dc30d6995e39bde81f15ba5bed1521508574ca5c9059b2ae71c4de6bb92aed') + +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: