Tweak Rust package guidelines
This commit is contained in:
parent
f7424840bb
commit
8625c1b87e
2
PKGBUILD
2
PKGBUILD
@ -25,7 +25,7 @@ b2sums=('a830206f69d72363692996c899fa44af64d4d01bc9b58b3b763f635888cc9d758b6ab61
|
|||||||
prepare() {
|
prepare() {
|
||||||
mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver"
|
mv "$pkgname-$pkgname-v$pkgver" "$pkgname-$pkgver"
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
Loading…
Reference in New Issue
Block a user