blob: 42bbc1d2a5cdfc0a1842eb57b9cf4b36a6202543 (
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
|
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Robbert van der Helm <mail@robbertvanderhelm.nl>
# Contributor: Florian Hülsmann <fh@cbix.de>
pkgname=clap-validator
pkgver=0.3.2
pkgrel=1
pkgdesc='An automatic CLAP validation and testing tool'
arch=(aarch64 x86_64)
url='https://github.com/free-audio/clap-validator'
license=(MIT)
groups=(pro-audio)
depends=(gcc-libs)
makedepends=(cargo)
source=("$pkgname-$pkgver.tar.gz::https://github.com/free-audio/$pkgname/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('4738248c0112f338144eedfc0c4678e38feae094ff93139ebb37c73d278c9ea7')
prepare() {
cd $pkgname-$pkgver
cargo fetch --locked --target $CARCH-unknown-linux-gnu
}
build() {
cd $pkgname-$pkgver
cargo build --release --locked --all-features --target-dir=target
}
package() {
cd $pkgname-$pkgver
install -vDm755 target/release/$pkgname -t "$pkgdir"/usr/bin
install -vDm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}
|