summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Gamble2022-02-05 12:03:18 +1100
committerMatthew Gamble2022-02-05 12:03:18 +1100
commit488b44183b2d8f72d38f1298d74fe84cc7773b6c (patch)
tree088005462b4461e42459d71cc5be590af2fdc5f4
parentcf4af798c6299dac956593b1fb733ecd6aa433d3 (diff)
downloadaur-488b44183b2d8f72d38f1298d74fe84cc7773b6c.tar.gz
Oops
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d33d56dd7f79..9c582c35538a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cpc-calc
pkgdesc = Text calculator with support for units and conversion
pkgver = 1.8.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/probablykasper/cpc
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 39c1933e3df5..56ab3c55fc5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cpc-calc
pkgver=1.8.0
-pkgrel=2
+pkgrel=3
pkgdesc="Text calculator with support for units and conversion"
arch=("x86_64")
url="https://github.com/probablykasper/cpc"
@@ -21,14 +21,14 @@ prepare() {
check() {
cd "cpc-${pkgver}"
- RUSTUP_TOOLCHAIN=stable
+ export RUSTUP_TOOLCHAIN=stable
cargo test --frozen --all-features
}
package() {
cd "cpc-${pkgver}"
- RUSTUP_TOOLCHAIN=stable
+ export RUSTUP_TOOLCHAIN=stable
cargo install --no-track --locked --offline --all-features --root "${pkgdir}/usr/" --path .
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/cpc-calc/LICENSE"
install -Dm644 README.md "${pkgdir}/usr/share/doc/cpc-calc/README.md"