upgpkg: bacon 1.2.1-1

* New upstream release.
* Refactor PKGBUILD.
This commit is contained in:
George Rawlinson 2021-10-03 20:41:37 +00:00
parent cde2d0ba49
commit e9bfad84f1
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -1,24 +1,26 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org> # Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=bacon pkgname=bacon
pkgver=1.1.8 pkgver=1.2.1
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')
makedepends=('cargo') depends=('gcc-libs')
makedepends=('rust')
source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate") source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate")
b2sums=('04c7405508befadf9c6ddeb26c5de82ebb5489f9a98d0947a7a68d379f393b2d3e37c3e5a36274139bed12e65fed4d2024f6f1af229726193ead520f0d72c8d2') sha512sums=('3ae8c3dd05a035811f3a97f880e900b256ea7c3c742bcea392541deae7c294421bec9f847605af4e08f8d358191f1fd4bdc298a34c1cb133dd50477955fa84f1')
b2sums=('266dc4e7774292314d268a9278377b53cf048593c23be3689a6bb77a264757bddc87d06c5e054f27fd946f45596a35efcaaa7b24a53ae9c45a57dfc9e0d66ee5')
prepare() { prepare() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
cargo fetch --locked cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
} }
build() { build() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target --offline cargo build --frozen --release --all-features
} }
package() { package() {