upgpkg: bacon 1.2.5-1

New upstream release.
This commit is contained in:
George Rawlinson 2022-01-29 16:56:54 +00:00
parent f9ce8d947e
commit c9275d4992
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -1,30 +1,39 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org> # Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=bacon pkgname=bacon
pkgver=1.2.4 pkgver=1.2.5
pkgrel=1 pkgrel=1
pkgdesc="A background rust code checker" pkgdesc="A background rust code checker"
arch=('x86_64') arch=('x86_64')
url="https://github.com/Canop/bacon" url="https://github.com/Canop/bacon"
license=('AGPL3') license=('AGPL3')
depends=('gcc-libs') depends=('gcc-libs')
makedepends=('rust') makedepends=('git' 'rust')
source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate") options=('!lto')
sha512sums=('be24dc8654771590f04e19bf5a5cc00ed1efa09d5a9d21803f5814126ad3c42438194df6c94637001c54e7007062cb6ec3987bab93345ca55e36d2c66d7004b4') _commit='0077701f2923a43d7c37f9e532163bfa01af6b1c'
b2sums=('91c7a0adecb289a1bc866e3e430f7a102d1d68e2a074caea0baf518f89839f9e448d39beab151f8a4f815a933b0ba8dc846600437c21c01104f45210b884c4bb') source=("$pkgname::git+$url.git#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
}
prepare() { prepare() {
cd "$pkgname-$pkgver" cd "$pkgname"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu" cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
} }
build() { build() {
cd "$pkgname-$pkgver" cd "$pkgname"
cargo build --frozen --release --all-features cargo build --frozen --release --all-features
} }
package() { package() {
cd "$pkgname-$pkgver" cd "$pkgname"
# binary # binary
install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname" install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"