blob: 81288e2c78f9705358345c5a220100e7c3746880 (
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
|
# Maintainer: Ariel Horwitz <ariel.horwitz+aur@gmail.com>
pkgname="spongecrab"
pkgver="0.2.3"
pkgrel=1
pkgdesc="Bringing powerful argument parsing to bash scripts"
arch=('x86_64')
url="https://github.com/ArielHorwitz/spongecrab"
license=('Unlicense')
groups=('iukbtw')
makedepends=('git' 'rust')
provides=('spongecrab')
conflicts=('spongecrab')
source=("git+https://github.com/ArielHorwitz/${pkgname}.git#tag=v${pkgver}")
sha256sums=('SKIP')
options=('!debug')
build() {
cd "${srcdir}/${pkgname}"
cargo build --release --locked
}
check() {
cd "${srcdir}/${pkgname}"
cargo test --locked
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 ./target/release/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
}
|