summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Truessel2020-11-28 00:38:28 +0100
committerNicolas Truessel2020-11-28 00:38:28 +0100
commit4901bfbab4e46dcf2ab01d134f72fb6ba1fd64c4 (patch)
tree44ec5c87b9bda3dd6d80ebbd8e1d344490db1e54 /PKGBUILD
parentc741b2bf484bbfdd0883cec13772c0bc1734cfdc (diff)
downloadaur-4901bfbab4e46dcf2ab01d134f72fb6ba1fd64c4.tar.gz
Update to v0.3.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6173130bafb..32cd4e07b53 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=cargo-binutils
-pkgver=0.2.0
-pkgrel=2
+pkgver=0.3.3
+pkgrel=1
pkgdesc='Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain'
url="https://github.com/rust-embedded/$pkgname"
arch=('x86_64')
@@ -8,7 +8,7 @@ license=('Apache' 'MIT')
depends=('rust' 'cargo')
install="$pkgname.install"
source=("$url/archive/v$pkgver.tar.gz")
-sha256sums=('a9f6e581e8f00dc98d043218ee2c36eb7d8b21398a1b97f24100dbe6e2084846')
+sha256sums=('91b37bc56ac50fdd5e96a37de39b42cc01351b1e3e775bfc5b875f0e51eaf9fe')
build() {
cd "$pkgname-$pkgver"
@@ -18,7 +18,13 @@ build() {
package() {
cd "$pkgname-$pkgver"
- for binary in 'nm' 'objcopy' 'objdump' 'profdata' 'readobj' 'size' 'strip'; do
+ for binary in 'ar' 'cov' 'ld' 'lld' 'nm' 'objcopy' 'objdump' 'profdata' 'readobj' 'size' 'strip'
+ do
+ install -Dm755 "target/release/rust-$binary" "$pkgdir/usr/bin/rust-$binary"
+ done
+
+ for binary in 'cov' 'nm' 'objcopy' 'objdump' 'profdata' 'readobj' 'size' 'strip'
+ do
install -Dm755 "target/release/cargo-$binary" "$pkgdir/usr/bin/cargo-$binary"
done
}