From 7f05442410f7d65fcfd62368fd6e25223526aa2c Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 27 Nov 2022 12:22:38 +0300 Subject: ouch: rm cmd opt, don't use nightly --- .SRCINFO | 2 +- PKGBUILD | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8a9519e..27bd7fc 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = ouch pkgdesc = Painless compression and decompression in the terminal pkgver = 0.4.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/ouch-org/ouch arch = x86_64 license = MIT diff --git a/PKGBUILD b/PKGBUILD index 66ff64c..0d3cfee 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=ouch pkgver=0.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Painless compression and decompression in the terminal" arch=('x86_64') url="https://github.com/ouch-org/ouch" @@ -14,6 +14,8 @@ sha256sums=('3e126f00e1ad82ef4abfd28f86dac53b366a29de6a70359e734ecc8748f580fc') prepare() { cd "$srcdir/$pkgname-$pkgver" + # TODO: Remove on next release <27-11-22, yigit> # + rm -f rust-toolchain cargo fetch --locked --target "$CARCH-unknown-linux-gnu" } @@ -21,7 +23,7 @@ build() { cd "$srcdir/$pkgname-$pkgver" export RUSTUP_TOOLCHAIN=stable export CARGO_TARGET_DIR=target - GEN_COMPLETIONS=1 OUCH_ARTIFACTS_FOLDER=artifacts cargo build --frozen --release --all-features + OUCH_ARTIFACTS_FOLDER=artifacts cargo build --frozen --release --all-features } check() { -- cgit v1.2.3-70-g09d2