Package Details: system76-keyboard-configurator 1.3.12-1

Git Clone URL: https://aur.archlinux.org/system76-keyboard-configurator.git (read-only, click to copy)
Package Base: system76-keyboard-configurator
Description: Configures keymap and backlight of System76 keyboards.
Upstream URL: https://github.com/pop-os/keyboard-configurator
Keywords: configurator keyboard main system76
Licenses: GPL3
Submitter: ahoneybun_76
Maintainer: ahoneybun_76
Last Packager: ahoneybun_76
Votes: 16
Popularity: 0.000066
First Submitted: 2022-07-05 21:00 (UTC)
Last Updated: 2024-09-12 17:19 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

linuxninja commented on 2021-09-26 04:03 (UTC)

This package doesn't build as-is. Why are you using the pkgbase var as part of the dir name to cd into? The dir system76-keyboard-configurator-1.0.0 doesn't exist. The directory is named keyboard-configurator-1.0.0.

Needs work.

yochananmarqos commented on 2021-08-05 18:45 (UTC) (edited on 2021-08-05 18:46 (UTC) by yochananmarqos)

@ahoneybun_76: Changing the pkgname in the PKGBUILD doesn't change it here.

You'll need to create a new system76-keyboard-configurator package then submit a request to merge keyboard-configurator into it. Once that's done, you would add keyboard-configurator to conflicts() and replaces().

You can also add System76 to the keywords and it will come up searching regardless.

ahoneybun_76 commented on 2021-06-02 19:37 (UTC)

Should be updated now.

ahoneybun_76 commented on 2021-06-02 18:42 (UTC)

Ah I didn't see the minus for that line.

yochananmarqos commented on 2021-06-02 18:10 (UTC) (edited on 2021-06-02 18:10 (UTC) by yochananmarqos)

@ahoneybun_76: You added make install but forgot to remove the install lines. Check my diff again. Don't forget to bump the pkgrel as well.

ahoneybun_76 commented on 2021-06-02 17:07 (UTC)

Alright updated as everything built in the chroot and works well.

ahoneybun_76 commented on 2021-06-02 16:05 (UTC)

@yochananmarqos,

This is my first AUR package in a while so I'm sure it could be even better. I'll work on that change now once I get my chroot back up and running.

yochananmarqos commented on 2021-06-01 19:09 (UTC)

@ahoneybun_76:

All those dependencies are not required to build. A good portion of them gtk3 depends on. Speaking of which, the package also depends on it.

Why use a pkgbase when there's only one package? Will there be split packages later?

No reason to install the files manually when you can use make install.

--- PKGBUILD-a  2021-06-01 13:04:15.478658310 -0600
+++ PKGBUILD-b  2021-06-01 13:05:14.513462830 -0600
@@ -7,7 +7,7 @@
 arch=('x86_64')
 url="https://github.com/pop-os/keyboard-configurator"
 license=('GPL3')
-makedepends=('atk' 'at-spi2-atk' 'at-spi2-core' 'base' 'cairo' 'dbus' 'expat' 'fontconfig' 'freetype2' 'fribidi' 'gdk-pixbuf2' 'glib2' 'graphite' 'gtk3' 'harfbuzz' 'hidapi' 'libcap' 'libcloudproviders' 'libdatrie' 'libepoxy' 'libffi' 'libgcrypt' 'libgpg-error' 'libjpeg-turbo' 'libpng' 'libxrender' 'libthai' 'libtiff' 'libx11' 'libxau' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxdmcp' 'libxext' 'libxfixes' 'libxi' 'libxinerama' 'libxkbcommon' 'libxrandr' 'lz4' 'pango' 'pcre' 'pixman' 'rust' 'systemd-libs' 'util-linux-libs' 'wayland' 'xz' 'zlib' 'zstd')
+makedepends=('gtk3' 'rust' 'systemd')
 source=("$pkgbase-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
 sha256sums=('96d2afd18641c66be6503283a5d90afd6737de1f14d4425f1a2e45057411043c')

@@ -18,12 +18,9 @@

 package_keyboard-configurator() {
    pkgdesc="System76 GUI for managing keyboards"
-   depends=('xz' 'hidapi')
+   depends=('xz' 'hidapi' 'gtk3')

    cd "$pkgbase-$pkgver"
-   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 linux/com.system76.keyboardconfigurator.appdata.xml "$pkgdir"/usr/share/metainfo/com.system76.keyboardconfigurator.appdata.xml
-   install -Dm644 data/icons/scalable/apps/com.system76.keyboardconfigurator.svg "$pkgdir"/usr/share/icons/com.system76.keyboardconfigurator.svg
-   install -Dm644 debian/com.system76.pkexec.keyboardconfigurator.policy "$pkgdir"/usr/share/polkit-1/actions/com.system76.pkexec.keyboardconfigurator.policy
+   make prefix=/usr DESTDIR="$pkgdir/" install
 }
+