You are not logged in.
Hey there,
i maintain the tuxedo-keyboard AUR Package. tuxedo-keyboard provides since version 3.0.0 multiple DKMS Modules
The following modules are included in tuxedo-keyboard
- tuxedo-keyboard
- tuxedo-io
- clevo-wmi
- clevo-acpi
Unfortunately I do not know how to proceed so that all 4 modules are built.
Sorry if this is a stupid question but I am stuck
Offline
You need to turn it into a split package. See the PKGBUILD man page.
Or you could install all 4 sources/dkms conf files as part of the single package. That works, too.
Edit2: looking at the upstream repo, it's set up to build all 4 already. What issue are you having, exactly?
Last edited by Scimmia (2020-12-15 18:08:45)
Offline
3.0.0 builds four modules for me from the provided dkms. Dropped redundant unpacking of the source archive and copying of dkms.conf.
Changed license to GPL3, used unique name for source archive, removed backup entry, install tuxedokeyboard.conf to /usr/lib/modprobe.d.
Not changed added other modules tuxedokeyboard.conf.
git diff
diff --git a/PKGBUILD b/PKGBUILD
index ddd0009..9cd6b71 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,21 @@
# Maintainer: Steven Seifried <gitlab@canox.net>
# Contributor: Steven Seifried <gitlab@canox.net>
pkgname=tuxedo-keyboard
-pkgver=2.1.0
+pkgver=3.0.0
pkgrel=1
pkgdesc="Keyboard Backlight Driver from TUXEDO Computers"
url="https://github.com/tuxedocomputers/tuxedo-keyboard"
-license=("GPL")
+license=("GPL3")
arch=('x86_64')
depends=('dkms')
-optdepends=('linux-headers: build modules against Arch kernel'
- 'linux-lts-headers: build modules against LTS kernel'
- 'linux-zen-headers: build modules against ZEN kernel'
- 'linux-hardened-headers: build modules against the HARDENED kernel')
-backup=(etc/modprobe.d/tuxedo_keyboard.conf)
-source=(https://github.com/tuxedocomputers/tuxedo-keyboard/archive/v${pkgver}.tar.gz tuxedokeyboard.conf)
-sha256sums=('cc9d956424c57780b5ae3408f0d73df918c91c1637e4b4bec8a00041c55cc88c'
+source=($pkgname-$pkgver-tar.gz::https://github.com/tuxedocomputers/tuxedo-keyboard/archive/v${pkgver}.tar.gz tuxedokeyboard.conf)
+sha256sums=('95bd38393d07329f1f944abcb20254a28f58b0f1551c63241396cc7fd4fc1972'
'd22aadf76a400f38ddee7ce2fd7f8b14694bf1d402bfbb99e65133d122ccb0f8')
-sha512sums=('6f5c3a8a85663f9cc032548c5124826efb0e6b4b4bcc58d06f58ec9cbde60014208cec93b7440a92b43417ba373ede80aa528e94abf9292496934a43e33ec0af'
+sha512sums=('1c6b2a0c086aaa6bd21795371d4747773608389be2d98d10d8e07499dfa63a628f639fa9ddfee4901e5c9d3b90c06116d1c537a8d7b6130612ea64fabcaedade'
'8aef78240aacf4a5c15cfb648400750a17db3203d230d6a1f8a84b1db71f0bd0d65251690f6290d8707b771cf74c6f008b82c65b00220e8d3fa70153be65ade6')
package() {
- tar -vxzf "v${pkgver}.tar.gz"
mkdir -p "${pkgdir}/usr/src/${pkgname}-${pkgver}"
cp -r "${srcdir}/${pkgname}-${pkgver}"/* "${pkgdir}/usr/src/${pkgname}-${pkgver}"
- install -D "${srcdir}/${pkgname}-${pkgver}/dkms.conf" "${pkgdir}/usr/src/${pkgname}-${pkgver}/dkms.conf"
+ install -Dm 644 tuxedokeyboard.conf "${pkgdir}/usr/lib/modprobe.d/tuxedokeyboard.conf"
}
Last edited by loqs (2020-12-15 19:19:41)
Offline
pkgname should be fixed as well
Offline