blob: 4bd06b376a21cfdc3ba59f902f4fca98588bad5e (
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
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: galister <galister at librevr dot org>
_pkgname=oscavmgr
pkgname=$_pkgname-git
pkgver=0.4.3.r0.35bfb10
pkgrel=1
pkgdesc="VRChat OSC avatar tools with built-in VRCFaceTracking relay"
url="https://github.com/galister/oscavmgr"
arch=('x86_64')
license=('MIT')
makedepends=('git' 'cargo')
conflicts=("$_pkgname")
provides=("$_pkgname")
source=("$_pkgname::git+https://github.com/galister/oscavmgr.git")
sha256sums=('SKIP')
# Use debug symbols
export CARGO_PROFILE_RELEASE_DEBUG=2
pkgver() {
cd "$_pkgname"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd "$_pkgname"
cargo build --frozen --release --all-features
}
check() {
cd "$_pkgname"
cargo test --frozen --all-features
}
package() {
cd "$_pkgname"
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$_pkgname"
}
|