summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD28
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3ff2462916a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = yabridgectl
+ pkgdesc = Optional utility to help set up and manage yabridge
+ pkgver = 2.0.2
+ pkgrel = 1
+ url = https://github.com/robbert-vdh/yabridge
+ arch = x86_64
+ license = GPL3
+ makedepends = cargo
+ provides = yabridgectl
+ conflicts = yabridge-bin
+ conflicts = yabridgectl-git
+ source = https://github.com/robbert-vdh/yabridge/archive/2.0.2.tar.gz
+ sha256sums = e42550a0ae8094cf0b8f3ca192b57cdc46a996016b5498619e2a78a284f8502c
+
+pkgname = yabridgectl
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4435031f84d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+src/
+pkg/
+yabridge/
+
+*.tar.gz
+*.tar.xz
+*.tar.zst
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: