blob: 4b4b6e9da2ba275649d355a1a606510c24dcfa0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: J.R. Hill <justin@so.dang.cool>
pkgname="sigi"
pkgver="3.7.1"
pkgrel=1
pkgdesc="Organization CLI for people who hate organization"
arch=('x86_64' 'aarch54')
url="https://github.com/sigi-cli/sigi"
license=('GPL-2.0-only')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/sigi/$pkgver/download")
sha256sums=('9fb629fd2e4644a8e4f173d73c45efad005afe23dd0dbfb0d51dec2f539a28e4')
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
}
check() {
cd "$pkgname-$pkgver"
# Tests are skipped until https;//github.com/hiljusti/sigi/issues/19
SKIP_BATS_TESTS=1 cargo test --release --locked
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/sigi" "$pkgdir/usr/bin/sigi"
install -Dm644 "sigi.1" "$pkgdir/usr/share/man/man1/sigi.1"
}
|