makedeb
Companion app for Tangara from Cool Tech Zone
Click here to go back to the commit logs for tangara-companion.
Hash: b3aeb3d44021e7bc2b301c872db643e04ec0a723
Message: Add udev rules for Tangara, increment pkgrel
* Refer to this Cool Tech Zone forum post please for more info:
* https://forum.cooltech.zone/showthread.php?tid=76&pid=736#pid736
diff --git a/.SRCINFO b/.SRCINFO
index 0ab9237..91b1c8f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tangara-companion
pkgdesc = Companion app for Tangara from Cool Tech Zone
pkgver = 0.4.3
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/haileys/tangara-companion
arch = amd64
license = GPL-3.0-or-later
@@ -18,6 +18,8 @@ pkgbase = tangara-companion
conflicts = tangara-companion-appimage
options = !lto
source = https://github.com/haileys/tangara-companion/archive/refs/tags/v0.4.3.tar.gz
+ source = 99-tangara.rules
b2sums = 7adda54a25983cf4f550cef4880d8078eff7f7bc51718fbd440231c5464bd113467d0445ad04292addc4dec83631b897b8b726412374f0c5ca4a9475fd3d10fd
+ b2sums = 3a0488043789818177abcbf61f6455c41b71d33a182a96bbf80c96b805c0c842793cba063fac6d4558907532e6ea90a679f033aa50d3ae2ab3c20d66109d1fa9
pkgname = tangara-companion
diff --git a/99-tangara.rules b/99-tangara.rules
new file mode 100644
index 0000000..0d4a3df
--- /dev/null
+++ b/99-tangara.rules
@@ -0,0 +1,2 @@
+SUBSYSTEM=="tty", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2014", MODE="0666"
+
diff --git a/PKGBUILD b/PKGBUILD
index f9f8ed8..c6a33eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=tangara-companion
pkgver=0.4.3
-pkgrel=2
+pkgrel=3
pkgdesc="Companion app for Tangara from Cool Tech Zone"
depends=()
makedepends=('cargo' 'cmake' 'meson' 'libadwaita-1-dev' 'libgtk-4-dev' 'librust-libudev-sys-dev' 'python-is-python3')
@@ -12,8 +12,14 @@ conflicts=("tangara-companion-bin" "tangara-companion-deb" "tangara-companion-ap
arch=(amd64)
url="https://github.com/haileys/tangara-companion"
license=('GPL-3.0-or-later')
-source=("https://github.com/haileys/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
-b2sums=('7adda54a25983cf4f550cef4880d8078eff7f7bc51718fbd440231c5464bd113467d0445ad04292addc4dec83631b897b8b726412374f0c5ca4a9475fd3d10fd')
+source=(
+ "https://github.com/haileys/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz"
+ 99-tangara.rules
+)
+b2sums=(
+ '7adda54a25983cf4f550cef4880d8078eff7f7bc51718fbd440231c5464bd113467d0445ad04292addc4dec83631b897b8b726412374f0c5ca4a9475fd3d10fd'
+ '3a0488043789818177abcbf61f6455c41b71d33a182a96bbf80c96b805c0c842793cba063fac6d4558907532e6ea90a679f033aa50d3ae2ab3c20d66109d1fa9'
+)
options=('!lto')
prepare() {
@@ -27,6 +33,8 @@ build() {
}
package() {
+ install -D -m644 99-tangara.rules -t $pkgdir/usr/lib/udev/rules.d/
+
cd "$pkgname-$pkgver"
meson install -C builddir
}