blob: 37a4ad5b770a5faaf6a9a54ef8797b21f6d07b1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: timescam <rex.ky.ng at gmail dot com>
_pkgname=via
pkgname=$_pkgname-bin
pkgver=1.3.1
pkgrel=1
pkgdesc="Yet another keyboard configurator, compatible with over 150 keyboards and easily added to other QMK keyboards."
arch=(any)
url="https://caniuse$_pkgname.com/"
provides=("${_pkgname}=${pkgver}")
depends=("hicolor-icon-theme"
"gtk3"
"libnotify"
"nss"
"libxss"
"libxtst"
"xdg-utils"
"at-spi2-core"
"libutil-linux"
"libappindicator-gtk3"
"libsecret")
_filename=("${_pkgname}-${pkgver}-linux.deb")
source=("https://github.com/the-$_pkgname/releases/releases/download/v${pkgver}/$_filename")
md5sums=("5b61cea500307e17a289f6ac99d60de7")
build() {
mkdir -p "${srcdir}/output"
tar -xvf "${srcdir}/data.tar.xz" -C "${srcdir}/output"
}
package() {
cp -r "${srcdir}/output/"* "${pkgdir}"
install -d "${pkgdir}"/usr/bin
ln -s /opt/VIA/via "${pkgdir}"/usr/bin/via
}
|