[arch-commits] Commit in cargo-spellcheck/trunk (PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sun Feb 6 18:17:27 UTC 2022
Date: Sunday, February 6, 2022 @ 18:17:27
Author: orhun
Revision: 1127235
upgpkg: cargo-spellcheck 0.10.1-1: upstream release
Modified:
cargo-spellcheck/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-06 18:10:07 UTC (rev 1127234)
+++ PKGBUILD 2022-02-06 18:17:27 UTC (rev 1127235)
@@ -2,7 +2,7 @@
# Contributor: Sanpi <sanpi+aur at homecomputing.fr>
pkgname=cargo-spellcheck
-pkgver=0.9.6
+pkgver=0.10.1
pkgrel=1
pkgdesc="Checks all your documentation for spelling and grammar mistakes"
arch=('x86_64')
@@ -9,18 +9,24 @@
url="https://github.com/drahnr/cargo-spellcheck"
license=('MIT' 'Apache')
depends=('hunspell')
-makedepends=('rust' 'clang' 'hunspell-en_US')
+makedepends=('cargo' 'clang' 'hunspell-en_US')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('34907919e3d82d53aee995ff196e2bf302b4b4b36b0703f69f831652ee9887b6')
+sha256sums=('19fc73d0958e9c0bfdcbe01605eb5ec54fa16e32b749636e96c692bdec3f940b')
+options=('!lto')
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
build() {
cd "$pkgname-$pkgver"
- cargo build --release --locked
+ cargo build --release --frozen
}
check() {
cd "$pkgname-$pkgver"
- cargo test --release --locked
+ cargo test --frozen
}
package() {
More information about the arch-commits
mailing list