diff options
author | Caleb Maclennan | 2023-06-03 15:04:28 +0300 |
---|---|---|
committer | Caleb Maclennan | 2023-06-03 17:47:04 +0300 |
commit | c05598ad3284afe5ba48e49ed6d348ea49cbd3a2 (patch) | |
tree | 89dceb561cbde2964e9a354d383c23512f652a59 | |
parent | e79159b39972028ecbe1487484900ec29a0e268a (diff) | |
download | aur-c05598ad3284afe5ba48e49ed6d348ea49cbd3a2.tar.gz |
upgpkg: novel-cli 0.3.1-2
Build without rustup, official repos just became fresh enough
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 8 deletions
@@ -1,12 +1,12 @@ pkgbase = novel-cli pkgdesc = tool for downloading novels from the web, manipulating text, and generating EPUBs pkgver = 0.3.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/novel-rs/cli arch = x86_64 license = Apache license = MIT - makedepends = rustup + makedepends = rust>=1.70.0 makedepends = clang makedepends = cmake makedepends = sqlite @@ -2,13 +2,13 @@ pkgname=novel-cli pkgver=0.3.1 -pkgrel=1 +pkgrel=2 pkgdesc='tool for downloading novels from the web, manipulating text, and generating EPUBs' arch=(x86_64) url='https://github.com/novel-rs/cli' license=(Apache MIT) depends=(gcc-libs) -makedepends=(rustup +makedepends=("rust>=1.70.0" clang cmake sqlite) @@ -18,21 +18,22 @@ sha256sums=('01dca1b084488b455d8355bbfeea783d68b8a795d7166c82f0eef70daaa5e7e7') prepare() { cd "$_archive" - rustup toolchain install stable - cargo +stable fetch --locked --target "$CARCH-unknown-linux-gnu" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" } build() { cd "$_archive" + CFLAGS+=" -ffat-lto-objects" export RUSTUP_TOOLCHAIN=stable export CARGO_TARGET_DIR=target - cargo +stable build --frozen --release --all-features + cargo build --frozen --release --all-features } check() { cd "$_archive" + CFLAGS+=" -ffat-lto-objects" export RUSTUP_TOOLCHAIN=stable - cargo +stable test --frozen --all-features + cargo test --frozen --all-features } package() { |