diff options
author | Aaron Honeycutt | 2021-05-13 12:19:30 -0600 |
---|---|---|
committer | Aaron Honeycutt | 2021-05-13 12:19:30 -0600 |
commit | 219de8b795f140902ee64a85a7b907f432e9f068 (patch) | |
tree | 93f8f5751eeb88f1f550eee1837a5dfa38fd7919 | |
download | aur-219de8b795f140902ee64a85a7b907f432e9f068.tar.gz |
adding first commit of System76 Keyboard Configurator
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8e61bdf37d3a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = pkgbase + pkgdesc = Configures keymap and backlight of System76 keyboards. + pkgver = 0.2.4 + pkgrel = 1 + url = https://github.com/pop-os/keyboard-configurator + arch = x86_64 + license = GPL3 + depends = ca-certificates + depends = openssl + depends = xz + +pkgname = keyboard-configurator + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c6551d54af2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Aaron Honeycutt <aaron at system76 dot com> +pkgname=('keyboard-configurator') +pkgbase=keyboard-configurator +pkgver=0.2.4 +pkgrel=1 +pkgdesc="Configures keymap and backlight of System76 keyboards." +arch=('x86_64') +url="https://github.com/pop-os/keyboard-configurator" +license=('GPL3') +makedepends=('rust' 'dbus') +conflicts=("$pkgbase-daemon-git") +source=("$pkgbase-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver-beta.tar.gz") +sha256sums=('e50311da2da5d59f2ebf1f30c6067f8ffae5535cf0da3ad28cfcbb77a355cc70') +#noextract=('keyboard-configurator-0.2.4.tar.gz') + +build() { + cd "$pkgbase-$pkgver-beta" + make prefix=/usr +} + +package_keyboard-configurator() { + pkgdesc="System76 GUI for managing keyboards" + depends=('ca-certificates' 'openssl' 'xz') + + cd "$pkgbase-$pkgver-beta" + #make prefix="$pkgdir/usr/bin/" install + install -Dm755 target/release/system76-keyboard-configurator "$pkgdir"/usr/bin/system76-keyboard-configurator + install -Dm644 linux/com.system76.keyboardconfigurator.desktop "$pkgdir"/usr/share/applications/com.system76.keyboardconfigurator.desktop + install -Dm644 data/icons/scalable/apps/com.system76.keyboardconfigurator.svg "$pkgdir"/usr/share/icons/com.system76.keyboardconfigurator.svg +} + |