Package Details: headsetcontrol-git 2.7.0.r1.gbd8aed3-2

Git Clone URL: https://aur.archlinux.org/headsetcontrol-git.git (read-only, click to copy)
Package Base: headsetcontrol-git
Description: Sidetone and Battery status for Logitech G930, G533, G633, G933 SteelSeries Arctis 7/PRO 2019 and Corsair VOID (Pro)
Upstream URL: https://github.com/Sapd/HeadsetControl
Keywords: arctis battery corsair g533 g633 g930 g933 headphones headset logitech sidetone steelseries
Licenses: GPL3
Conflicts: headsetcontrol
Provides: headsetcontrol
Submitter: sistematico
Maintainer: s3lph
Last Packager: s3lph
Votes: 6
Popularity: 0.000169
First Submitted: 2020-11-10 15:53 (UTC)
Last Updated: 2023-07-03 20:22 (UTC)

Dependencies (3)

Required by (4)

Sources (1)

Latest Comments

s3lph commented on 2023-07-03 20:24 (UTC)

@MarsSeed I've updated the package to include your proposed changes.

(I have to say, I was quite surprised to be notified here and and just found out I'm now listed as maintainer of this package for some reason.)

MarsSeed commented on 2023-07-02 02:00 (UTC)

Please implement a pkgver() based on Git tags.

Then please change provides to have version:

provides=("${_pkgname}=${pkgver}")

jomority commented on 2021-05-20 18:09 (UTC)

Thanks to @s3lph for the solution. It works!

However, I would suggest using /usr/lib/udev/rules.d/ instead of /etc/udev/rules.d/ since packages should place their rules there.

s3lph commented on 2021-05-18 20:17 (UTC)

The upstream recently changed their approach to udev rules: Previously they shipped a precomiled list of rules, now they are generated dynamically. Please update the PKGBUILD accordingly. E.g. something like this:

--- a/PKGBUILD  2021-05-18 21:54:34.588270559 +0200
+++ b/PKGBUILD  2021-05-18 22:04:48.154982524 +0200
@@ -33,6 +33,8 @@
 package() {
   make DESTDIR="${pkgdir}" PREFIX='/usr' -C 'build' install
   install -Dvm644 "${_pkgname}/README.md" -t "${pkgdir}/usr/share/doc/${_pkgname}"
+  install -dvm755 "${pkgdir}/etc/udev/rules.d/"
+  "${pkgdir}/usr/bin/headsetcontrol" -u > "${pkgdir}/etc/udev/rules.d/70-headsets.rules"
 }

 # vim: ts=2 sw=2 et: