[arch-commits] Commit in cargo-spellcheck/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Tue Mar 29 11:59:07 UTC 2022
Date: Tuesday, March 29, 2022 @ 11:59:06
Author: orhun
Revision: 1177657
archrelease: copy trunk to community-x86_64
Added:
cargo-spellcheck/repos/community-x86_64/PKGBUILD
(from rev 1177656, cargo-spellcheck/trunk/PKGBUILD)
Deleted:
cargo-spellcheck/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-29 11:58:53 UTC (rev 1177656)
+++ PKGBUILD 2022-03-29 11:59:06 UTC (rev 1177657)
@@ -1,47 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Sanpi <sanpi+aur at homecomputing.fr>
-
-pkgname=cargo-spellcheck
-pkgver=0.11.0
-pkgrel=1
-pkgdesc="Checks all your documentation for spelling and grammar mistakes"
-arch=('x86_64')
-url="https://github.com/drahnr/cargo-spellcheck"
-license=('MIT' 'Apache')
-depends=('hunspell')
-makedepends=('cargo' 'clang' 'hunspell-en_US')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('02cff9ef82b9d8522b990e228b21ef186ef515e65e582f4fb3285a75cb99b977')
-options=('!lto')
-
-prepare() {
- cd "$pkgname-$pkgver"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
- mkdir -p completions
-}
-
-build() {
- cd "$pkgname-$pkgver"
- cargo build --release --frozen
- local _completion="target/release/$pkgname completions"
- $_completion --shell bash > "completions/$pkgbase"
- $_completion --shell fish > "completions/$pkgbase.fish"
- $_completion --shell zsh > "completions/_$pkgbase"
-}
-
-check() {
- cd "$pkgname-$pkgver"
- cargo test --frozen
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
- install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
- install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
- install -Dm 664 "completions/$pkgname" -t "$pkgdir/usr/share/bash-completion/completions/"
- install -Dm 664 "completions/$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d/"
- install -Dm 664 "completions/_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions/"
-}
-
-# vim: ts=2 sw=2 et:
Copied: cargo-spellcheck/repos/community-x86_64/PKGBUILD (from rev 1177656, cargo-spellcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-29 11:59:06 UTC (rev 1177657)
@@ -0,0 +1,47 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Sanpi <sanpi+aur at homecomputing.fr>
+
+pkgname=cargo-spellcheck
+pkgver=0.11.1
+pkgrel=1
+pkgdesc="Checks all your documentation for spelling and grammar mistakes"
+arch=('x86_64')
+url="https://github.com/drahnr/cargo-spellcheck"
+license=('MIT' 'Apache')
+depends=('hunspell')
+makedepends=('cargo' 'clang' 'hunspell-en_US')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('6ef4ba144afd1ac21efb13ceac80da2c0af2b771830dc3d1994f2fb445744521')
+options=('!lto')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ mkdir -p completions
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --frozen
+ local _completion="target/release/$pkgname completions"
+ $_completion --shell bash > "completions/$pkgbase"
+ $_completion --shell fish > "completions/$pkgbase.fish"
+ $_completion --shell zsh > "completions/_$pkgbase"
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ cargo test --frozen
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm 664 "completions/$pkgname" -t "$pkgdir/usr/share/bash-completion/completions/"
+ install -Dm 664 "completions/$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d/"
+ install -Dm 664 "completions/_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions/"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list