summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a60c1fd13a30b74e15e10923bcaaebcb5517f37 (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
# Maintainer: ljoonal <aur.lj at munally.com>

pkgname=vr-lighthouse-git
_pkgname=lighthouse
pkgver=1.2.0
pkgrel=1
pkgdesc="VR Lighthouse power state management in Rust"
arch=('x86_64')
url="https://github.com/ShayBox/$_pkgname"
license=('MIT')
makedepends=('cargo')
source=("git+$url#tag=$pkgver")
b2sums=(
    'SKIP'
)

build() {
    cd $_pkgname
    cargo build --release
}

package() {
    install -Dm755 "$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}