diff options
author | Moon Sungjoon | 2021-10-12 01:05:01 +0900 |
---|---|---|
committer | Moon Sungjoon | 2021-10-12 01:05:01 +0900 |
commit | bad8d728755fb7d73a695ab58bda606a199de7ee (patch) | |
tree | 807e693810716431e05b89a0c6f1774762e90fd4 | |
parent | 6d9e6b28cd62631413ae54f5f16edf24e290982c (diff) | |
download | aur-battop.tar.gz |
Fix Build error
Thank you for fix @arglebargle
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 11 insertions, 8 deletions
@@ -1,10 +1,10 @@ pkgbase = battop pkgdesc = Interactive batteries viewer pkgver = 0.2.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/svartalf/rust-battop arch = x86_64 - license = Apache, + license = Apache license = MIT makedepends = rust makedepends = cargo @@ -13,4 +13,3 @@ pkgbase = battop sha512sums = f5744a8ddcfe09f2547494d2a6e1b184b967c5e4439c7bd3d74e47a1579dc86192a68cc3acb1ae2122718a77e2ab45525625e8a58ce1609d4b458e080a151af2 pkgname = battop - @@ -1,12 +1,13 @@ -# Maintainer: svartalf <self@svartalf.info> +# Maintainer: Moon Sungjoon <sumoon at seoulsaram dot org> +# Contributor: svartalf <self@svartalf.info> -pkgname='battop' +pkgname=battop pkgdesc="Interactive batteries viewer" pkgver=0.2.4 -pkgrel=1 +pkgrel=2 arch=('x86_64') url="https://github.com/svartalf/rust-battop" -license=('Apache', 'MIT') +license=('Apache' 'MIT') depends=('gcc-libs') makedepends=('rust' 'cargo') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/svartalf/rust-battop/archive/v${pkgver}.tar.gz") @@ -15,7 +16,10 @@ sha512sums=('f5744a8ddcfe09f2547494d2a6e1b184b967c5e4439c7bd3d74e47a1579dc86192a build() { cd "rust-$pkgname-$pkgver" - cargo build --release --locked + # build fails with battery crate version < 0.7.5 + # Thank you for fix @arglebargle + sed -i 's/battery = "^0.7"/battery = "^0.7.5"/' Cargo.toml + cargo build --release } package_battop() { |