Date: Thursday, March 24, 2022 @ 22:00:33 Author: orhun Revision: 1175559
archrelease: copy trunk to community-x86_64 Added: cargo-zigbuild/repos/community-x86_64/PKGBUILD (from rev 1175557, 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-03-24 22:00:31 UTC (rev 1175558) +++ PKGBUILD 2022-03-24 22:00:33 UTC (rev 1175559) @@ -1,38 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net> - -pkgname=cargo-zigbuild -pkgver=0.6.8 -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=('138face5ffc8b36f7440f09423dcfe12e466604fa58488d35c1bc90aae2a51bd') - -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 1175557, cargo-zigbuild/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-24 22:00:33 UTC (rev 1175559) @@ -0,0 +1,38 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net> + +pkgname=cargo-zigbuild +pkgver=0.7.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=('186c7014abc56b036aa9d5638383e293765b6cfa2e007a0f7ed1c8d9fb6331eb') + +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: