diff options
author | Yigit Sever | 2022-11-27 12:22:03 +0300 |
---|---|---|
committer | Yigit Sever | 2022-11-27 12:22:03 +0300 |
commit | dfe06f1bb10e81a16487fd37e13043254d8ce0e9 (patch) | |
tree | d270d1cabaf7152c2603f77e292879cc727b2acb | |
parent | be7040f40db7248b17e61cd18aa1d92fe85473c9 (diff) | |
download | packages-dfe06f1bb10e81a16487fd37e13043254d8ce0e9.tar.gz packages-dfe06f1bb10e81a16487fd37e13043254d8ce0e9.tar.bz2 packages-dfe06f1bb10e81a16487fd37e13043254d8ce0e9.zip |
remove unused cmd option, don't use nightly
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ | |||
1 | pkgbase = ouch | 1 | pkgbase = ouch |
2 | pkgdesc = Painless compression and decompression in the terminal | 2 | pkgdesc = Painless compression and decompression in the terminal |
3 | pkgver = 0.4.0 | 3 | pkgver = 0.4.0 |
4 | pkgrel = 1 | 4 | pkgrel = 2 |
5 | url = https://github.com/ouch-org/ouch | 5 | url = https://github.com/ouch-org/ouch |
6 | arch = x86_64 | 6 | arch = x86_64 |
7 | license = MIT | 7 | license = MIT |
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | pkgname=ouch | 3 | pkgname=ouch |
4 | pkgver=0.4.0 | 4 | pkgver=0.4.0 |
5 | pkgrel=1 | 5 | pkgrel=2 |
6 | pkgdesc="Painless compression and decompression in the terminal" | 6 | pkgdesc="Painless compression and decompression in the terminal" |
7 | arch=('x86_64') | 7 | arch=('x86_64') |
8 | url="https://github.com/ouch-org/ouch" | 8 | url="https://github.com/ouch-org/ouch" |
@@ -14,6 +14,8 @@ sha256sums=('3e126f00e1ad82ef4abfd28f86dac53b366a29de6a70359e734ecc8748f580fc') | |||
14 | 14 | ||
15 | prepare() { | 15 | prepare() { |
16 | cd "$srcdir/$pkgname-$pkgver" | 16 | cd "$srcdir/$pkgname-$pkgver" |
17 | # TODO: Remove on next release <27-11-22, yigit> # | ||
18 | rm -f rust-toolchain | ||
17 | cargo fetch --locked --target "$CARCH-unknown-linux-gnu" | 19 | cargo fetch --locked --target "$CARCH-unknown-linux-gnu" |
18 | } | 20 | } |
19 | 21 | ||
@@ -21,7 +23,7 @@ build() { | |||
21 | cd "$srcdir/$pkgname-$pkgver" | 23 | cd "$srcdir/$pkgname-$pkgver" |
22 | export RUSTUP_TOOLCHAIN=stable | 24 | export RUSTUP_TOOLCHAIN=stable |
23 | export CARGO_TARGET_DIR=target | 25 | export CARGO_TARGET_DIR=target |
24 | GEN_COMPLETIONS=1 OUCH_ARTIFACTS_FOLDER=artifacts cargo build --frozen --release --all-features | 26 | OUCH_ARTIFACTS_FOLDER=artifacts cargo build --frozen --release --all-features |
25 | } | 27 | } |
26 | 28 | ||
27 | check() { | 29 | check() { |