summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b48a5c16d0faea1d07f402c04d94b65c2a92963a (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
# Maintainer: Mads Kjeldgaard <mail@madskjeldgaard.dk>
pkgname=osccli
pkgver=0.1
pkgrel=3
pkgdesc="Fast and simple cli tool for Open Sound Control communication, written in Rust"
arch=('x86_64')
url="https://github.com/madskjeldgaard/osccli"
license=('GPL')
groups=('pro-audio')
depends=()
makedepends=('git' 'cargo' 'rust')
source=("$pkgname-$pkgver.zip::${url}/archive/v${pkgver}.zip")
sha256sums=("SKIP")

check() {
	cd "$pkgname-$pkgver"
	cargo test --locked
}

build() {
	cd "$pkgname-$pkgver"
	cargo build --release 
}

package() {
	cd "$pkgname-$pkgver"
	install -Dm755 "target/release/osccli" "$pkgdir/usr/bin/$pkgname"
}