[arch-commits] Commit in pueue/trunk (PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Fri Feb 18 23:48:05 UTC 2022
Date: Friday, February 18, 2022 @ 23:48:05
Author: orhun
Revision: 1134586
upgpkg: pueue 2.0.0-1: upstream release
Modified:
pueue/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-18 23:48:01 UTC (rev 1134585)
+++ PKGBUILD 2022-02-18 23:48:05 UTC (rev 1134586)
@@ -2,27 +2,30 @@
# Contributor: Arne Beer <privat at arne.beer>
pkgname=pueue
-pkgver=1.0.6
+pkgver=2.0.0
pkgrel=1
-pkgdesc="A command scheduler for shells"
+pkgdesc="A CLI tool for managing long running shell commands"
arch=('x86_64')
url="https://github.com/nukesor/pueue"
license=('MIT')
depends=('gcc-libs')
-makedepends=('rust')
+makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('e8df48831f4d9ae8fe5dc7a8428660b4c87c4fb3bf8d1ae620e030af74269ffa')
-options=('!lto')
+sha256sums=('6069cff79a31dfdfc97a03ce1ee1d7df94ae649b4703394000936724cf88cf44')
prepare() {
cd "$pkgname-$pkgver"
- cargo fetch --locked
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ mkdir -p utils/completions/
}
build() {
cd "$pkgname-$pkgver"
+ CFLAGS+=" -ffat-lto-objects"
cargo build --release --frozen
- ./build_completions.sh
+ ./target/release/pueue completions bash utils/completions/
+ ./target/release/pueue completions fish utils/completions/
+ ./target/release/pueue completions zsh utils/completions/
}
check() {
More information about the arch-commits
mailing list