summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66c170ec4a5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Robbert van der Helm <mail@robbertvanderhelm.nl>
+
+pkgname=yabridgectl
+_yabridge=yabridge
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="Optional utility to help set up and manage yabridge"
+epoch=
+arch=('x86_64')
+url="https://github.com/robbert-vdh/yabridge"
+license=('GPL3')
+makedepends=('cargo')
+provides=('yabridgectl')
+conflicts=('yabridge-bin' 'yabridgectl-git')
+source=("https://github.com/robbert-vdh/yabridge/archive/$pkgver.tar.gz")
+sha256sums=('e42550a0ae8094cf0b8f3ca192b57cdc46a996016b5498619e2a78a284f8502c')
+
+build() {
+ cd "$_yabridge-$pkgver/tools/yabridgectl"
+ cargo build --release --locked --all-features --target-dir=target
+}
+
+package() {
+ cd "$_yabridge-$pkgver/tools/yabridgectl"
+ install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
+}
+
+# vim:set ts=2 sw=2 et: