Date: Sunday, May 7, 2023 @ 20:00:35 Author: orhun Revision: 1459422 archrelease: copy trunk to community-x86_64
Added: release-plz/repos/community-x86_64/PKGBUILD (from rev 1459421, release-plz/trunk/PKGBUILD) Deleted: release-plz/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-07 20:00:18 UTC (rev 1459421) +++ PKGBUILD 2023-05-07 20:00:35 UTC (rev 1459422) @@ -1,50 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# https://github.com/orhun/pkgbuilds - -pkgname=release-plz -pkgver=0.3.5 -pkgrel=1 -pkgdesc="Release Rust packages without using the command line" -arch=('x86_64') -url="https://github.com/MarcoIeni/release-plz" -license=('MIT' 'Apache') -depends=('gcc-libs' 'curl') -checkdepends=('git') -makedepends=('cargo') -optdepends=('cargo-semver-checks: check for API breaking changes') -source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgname-v$pkgver.tar.gz") -sha512sums=('e222ffef05f3534176cd64c766806cbe494bb90d8157f6d2609c5e0df45e14bfa1ba4aa995aa18b1402c1f747baa474eecddb4036bd4531500503eb63a7603cf') -options=('!lto') - -prepare() { - mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver" - cd "$pkgname-$pkgver" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" - mkdir completions -} - -build() { - cd "$pkgname-$pkgver" - cargo build --release --frozen - local compgen="target/release/$pkgname generate-completions" - $compgen bash >"completions/$pkgname" - $compgen fish >"completions/$pkgname.fish" - $compgen zsh >"completions/_$pkgname" -} - -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-MIT -t "$pkgdir/usr/share/licenses/$pkgname" - install -Dm 644 "completions/$pkgname" -t "$pkgdir/usr/share/bash-completion/completions/" - install -Dm 644 "completions/$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d/" - install -Dm 644 "completions/_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions/" -} - -# vim: ts=2 sw=2 et: Copied: release-plz/repos/community-x86_64/PKGBUILD (from rev 1459421, release-plz/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-07 20:00:35 UTC (rev 1459422) @@ -0,0 +1,50 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# https://github.com/orhun/pkgbuilds + +pkgname=release-plz +pkgver=0.3.7 +pkgrel=1 +pkgdesc="Release Rust packages without using the command line" +arch=('x86_64') +url="https://github.com/MarcoIeni/release-plz" +license=('MIT' 'Apache') +depends=('gcc-libs' 'curl') +checkdepends=('git') +makedepends=('cargo') +optdepends=('cargo-semver-checks: check for API breaking changes') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgname-v$pkgver.tar.gz") +sha512sums=('312ace13485d1227b0441696b865397da90278aac014968bbf0e9cf211bb0bfa99fbea95b3b1b7a90513ac9778fe17c565e5a8b3d651b8c9b13095caf76798a7') +options=('!lto') + +prepare() { + mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver" + cd "$pkgname-$pkgver" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" + mkdir completions +} + +build() { + cd "$pkgname-$pkgver" + cargo build --release --frozen + local compgen="target/release/$pkgname generate-completions" + $compgen bash >"completions/$pkgname" + $compgen fish >"completions/$pkgname.fish" + $compgen zsh >"completions/_$pkgname" +} + +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-MIT -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm 644 "completions/$pkgname" -t "$pkgdir/usr/share/bash-completion/completions/" + install -Dm 644 "completions/$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d/" + install -Dm 644 "completions/_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions/" +} + +# vim: ts=2 sw=2 et: