-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
28 lines (25 loc) · 1.01 KB
/
PKGBUILD
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
# Maintainer: Robin Grell (pentamassiv) <pentamassiv@posteo.de>
pkgname=fingerboard-bin
_pkgname=fingerboard
pkgver=0.20
pkgrel=1
pkgdesc="A customizable open-source keyboard with advanced features (pre-compiled)"
url="https://github.com/grelltrier/keyboard"
arch=(aarch64)
license=(GPL3)
depends=(gtk3 gtk-layer-shell)
optdepends=('feedbackd: haptic feedback')
provides=(fingerboard)
conflicts=(fingerboard)
replaces=(fingerboard)
sha256sums=("SKIP")
source=("https://github.com/grelltrier/keyboard/releases/download/v${pkgver}/${_pkgname}-v${pkgver}-aarch64.tar.gz")
package() {
cd keyboard
install -Dm 755 target/release/${_pkgname} -t "${pkgdir}/usr/bin"
install -Dm 755 packaging/virtboard -t "${pkgdir}/usr/bin"
# Moves folders with keyboard layouts, stylesheets and icons
install -Dm 644 data/keyboards/* -t "${pkgdir}/${HOME}/.fingerboard/data/keyboards"
install -Dm 644 data/icons/* -t "${pkgdir}/${HOME}/.fingerboard/data/icons"
install -Dm 644 data/theming/* -t "${pkgdir}/${HOME}/.fingerboard/data/theming"
}