Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request: tuxedo-drivers is the new tuxedo-keyboard
Date: Wed, 13 Dec 2023 13:02:39 +0100	[thread overview]
Message-ID: <20231213120239.3Nhn-1Mep2ximuy16HHRV3BBvHUtHj2_drDAKKDd0Z8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47715@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/47715#issuecomment-1853790682

Comment:
Just follow their rpm rules.

```sh
# Template file for 'tuxedo-drivers'
pkgname=tuxedo-drivers
version=4.0.0
revision=1
depends="dkms"
short_desc="TUXEDO kernel module drivers for keyboard & general hardware I/O"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/tuxedocomputers/tuxedo-drivers"
distfiles="https://github.com/tuxedocomputers/tuxedo-drivers/archive/v${version}.tar.gz"
checksum=417a2f13c2cfe15a44de566ce6ff6b942ed6641ae16c7daa264458b2d3aefdc9

dkms_modules="tuxedo-keyboard ${version}"

# this pkg is broken with linux6.1 while tuxedo-keyboard works with linux6.1
replaces="tuxedo-keyboard>=0"
provides="tuxedo-keyboard-${version}_${revision}"

do_build() {
	sed "s/#MODULE_VERSION#/${version}/" \
		debian/tuxedo-drivers.dkms >src/dkms.conf
}

do_install() {
	vmkdir usr/src/${pkgname}-${version}
	vcopy "src/*" usr/src/${pkgname}-${version}
	vinstall tuxedo_keyboard.conf 644 usr/lib/modprobe.d/
}
```

      reply	other threads:[~2023-12-13 12:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 16:11 [ISSUE] " dataCobra
2023-12-13 12:02 ` sgn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231213120239.3Nhn-1Mep2ximuy16HHRV3BBvHUtHj2_drDAKKDd0Z8@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).