blob: 3bbdea0c0b1893bebc55af14a2bc272481f1c8b9 (
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
|
# Maintainer: Andrew Halle <me at andrewhalle dot dev>
pkgname=rpick
pkgver=0.9.0
pkgrel=1
pkgdesc="A command line tool that helps you to pick items from a list, using configurable algorithms."
arch=('x86_64')
url="https://github.com/bowlofeggs/rpick"
license=('GPL3')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::https://github.com/bowlofeggs/rpick/archive/$pkgver.tar.gz")
sha256sums=('18d332cd53ba5374d4ede5a3ce3821f57aa41e8f3041050198b0207847fee627')
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
}
check() {
cd "$pkgname-$pkgver"
cargo test
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 target/release/rpick $pkgdir/usr/bin/rpick
}
|