name='qmk-hid-host-git'
version='latest' release='1'
This commit is contained in:
parent
157abce4bf
commit
dc6d648590
46
qmk-hid-host-git/alr.sh
Normal file
46
qmk-hid-host-git/alr.sh
Normal file
@ -0,0 +1,46 @@
|
||||
name='qmk-hid-host-git'
|
||||
version='latest'
|
||||
release='1'
|
||||
desc='Host component for communicating with QMK keyboards using Raw HID feature.'
|
||||
homepage='https://github.com/zzeneg/qmk-hid-host'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('MIT')
|
||||
provides=('qmk-hid-host-git')
|
||||
conflicts=('qmk-hid-host' 'qmk-hid-host-git')
|
||||
|
||||
build_deps=(
|
||||
'cargo'
|
||||
'rust-libudev-devel'
|
||||
'pulseaudio'
|
||||
'dbus-devel'
|
||||
)
|
||||
build_deps_debian=(
|
||||
'cargo'
|
||||
'libudev-dev'
|
||||
'pulseaudio'
|
||||
'libdbus-1-dev'
|
||||
)
|
||||
build_deps_arch=(
|
||||
'cargo'
|
||||
'libudev0'
|
||||
'pulseaudio'
|
||||
'dbus'
|
||||
)
|
||||
|
||||
sources=("git+https://github.com/zzeneg/qmk-hid-host.git")
|
||||
checksums=('SKIP')
|
||||
|
||||
version() {
|
||||
cd "$srcdir/qmk-hid-host"
|
||||
git-version
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/qmk-hid-host"
|
||||
cargo build
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/qmk-hid-host/target/debug/qmk-hid-host" "${pkgdir}/usr/bin/qmk-hid-host"
|
||||
}
|
Loading…
Reference in New Issue
Block a user