This commit is contained in:
2023-08-31 19:50:22 +03:00
parent 76a3bc9f55
commit fcf91e3f89

View File

@ -1,6 +1,6 @@
# Maintainer: AB <gh@hexor.ru> # Maintainer: AB <gh@hexor.ru>
pkgname=rexec pkgname=rexec
pkgver=1.0.4.r0.g3cf1e79 pkgver=1.0.6
pkgrel=1 pkgrel=1
pkgdesc="Parallel SSH executor" pkgdesc="Parallel SSH executor"
url="https://github.com/house-of-vanity/rexec" url="https://github.com/house-of-vanity/rexec"
@ -9,7 +9,7 @@ arch=("x86_64")
makedepends=("cargo") makedepends=("cargo")
pkgver() { pkgver() {
(git describe --long --tags || echo "$pkgver") | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' echo "$pkgver" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
} }
build() { build() {
@ -20,6 +20,6 @@ package() {
cd .. cd ..
usrdir="$pkgdir/usr" usrdir="$pkgdir/usr"
mkdir -p $usrdir mkdir -p $usrdir
cargo install --no-track --path . --root "$usrdir" cargo install --target=x86_64-unknown-linux-musl --no-track --path . --root "$usrdir"
} }