Date: Saturday, April 2, 2022 @ 10:05:53 Author: orhun Revision: 1180776
archrelease: copy trunk to community-x86_64 Added: cargo-zigbuild/repos/community-x86_64/PKGBUILD (from rev 1180775, 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-04-02 10:05:01 UTC (rev 1180775) +++ PKGBUILD 2022-04-02 10:05:53 UTC (rev 1180776) @@ -1,38 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net> - -pkgname=cargo-zigbuild -pkgver=0.7.2 -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=('4a1836d10a52d106cd7775e4cd17aa6734335ab7923ffb86ad1771b9f52f2f81') - -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 1180775, cargo-zigbuild/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-02 10:05:53 UTC (rev 1180776) @@ -0,0 +1,38 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net> + +pkgname=cargo-zigbuild +pkgver=0.8.1 +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=('b10ace95189a1f186a7fbff9e3c54026dbc188bc7af753181fb2daf4899bead4') + +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: