vial-ergohaven 0.7.5-1
This commit is contained in:
1
vial-ergohaven/99-vial.rules
Normal file
1
vial-ergohaven/99-vial.rules
Normal file
@@ -0,0 +1 @@
|
||||
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", MODE="0666", TAG+="uaccess"
|
||||
65
vial-ergohaven/alr.sh
Normal file
65
vial-ergohaven/alr.sh
Normal file
@@ -0,0 +1,65 @@
|
||||
name='vial-ergohaven'
|
||||
version='0.7.5'
|
||||
release='1'
|
||||
desc='Ergohaven fork of Vial — open-source GUI for configuring your keyboard in real time'
|
||||
desc_ru='Форк Vial от Ergohaven — GUI с открытым исходным кодом для настройки клавиатуры в реальном времени'
|
||||
homepage='https://github.com/ergohaven/vial-gui'
|
||||
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('GPL2')
|
||||
provides=('vial')
|
||||
conflicts=('vial' 'vial-bin' 'vial-git')
|
||||
|
||||
deps=('fuse')
|
||||
|
||||
deps_alt=('fuse')
|
||||
deps_arch=('fuse2')
|
||||
deps_debian=("${deps[@]}")
|
||||
deps_fedora=("${deps[@]}")
|
||||
deps_redos=("${deps[@]}")
|
||||
deps_rhel=("${deps[@]}")
|
||||
deps_rosa=("${deps[@]}")
|
||||
deps_alpine=("${deps[@]}")
|
||||
|
||||
_tag='0.7.5-eh-2026-01-04'
|
||||
sources=("https://github.com/ergohaven/vial-gui/releases/download/${_tag}/Vial-x86_64.AppImage?~archive=false")
|
||||
checksums=('SKIP')
|
||||
|
||||
scripts=(
|
||||
['postinstall']='postinstall.sh'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
chmod +x Vial-x86_64.AppImage
|
||||
sleep 5
|
||||
./Vial-x86_64.AppImage --appimage-extract
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/squashfs-root/
|
||||
sed -i -E "s|Exec=Vial|Exec=env DESKTOPINTEGRATION=false /usr/bin/${name}|" ./Vial.desktop
|
||||
|
||||
chmod -R a-x+rX ./usr
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/Vial-x86_64.AppImage" "${pkgdir}/opt/${name}/${name}.AppImage"
|
||||
install-desktop ${srcdir}/squashfs-root/Vial.desktop
|
||||
|
||||
install -dm755 "${pkgdir}/usr/share/"
|
||||
cp -r --no-preserve=ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
ln -s "${pkgdir}/opt/${name}/${name}.AppImage" "${pkgdir}/usr/bin/${name}"
|
||||
|
||||
install -Dm644 "${scriptdir}/99-vial.rules" "${pkgdir}/usr/lib/udev/rules.d/99-vial.rules"
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find-bin
|
||||
files-find "./opt/${name}/**"
|
||||
files-find-share "applications"
|
||||
files-find-share "icons"
|
||||
files-find "./usr/lib/udev/rules.d/**"
|
||||
}
|
||||
3
vial-ergohaven/postinstall.sh
Normal file
3
vial-ergohaven/postinstall.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/env bash
|
||||
udevadm control --reload-rules
|
||||
udevadm trigger --subsystem-match=hidraw --action=change
|
||||
@@ -9,7 +9,7 @@ maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('GPL2')
|
||||
provides=('vial')
|
||||
conflicts=('vial' 'vial-bin' 'vial-git')
|
||||
conflicts=('vial' 'vial-bin' 'vial-git' 'vial-ergohaven')
|
||||
|
||||
deps=('fuse')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user