Update to 1.0.0-1: Switch to GitHub source

This commit is contained in:
ftworld 2026-01-08 19:27:26 -06:00
parent d10d8012a5
commit 17a21efd24
5 changed files with 10 additions and 2459 deletions

View file

@ -4,13 +4,10 @@ pkgbase = hp-omen-gaming-wmi-dkms
pkgrel = 1
arch = any
license = GPL2
makedepends = git
depends = dkms
depends = linux-headers
source = hp-wmi.c
source = Makefile
source = dkms.conf
sha256sums = 698bc594f2d73a79b4bf9293885a68e668b2b556e72996a7e3b20fd3aab3e211
sha256sums = 9b9e71d6d7ddbd1fa2c2d02dbe7521e93098f8e16569f6f9aba1e62afe4aa297
sha256sums = b16a030893d665ed3aa638352e272bd99de54fcf04ffda02083040e811d0c81b
source = git+https://github.com/nevetscar/hp-omen-gaming-wmi-dkms.git
sha256sums = SKIP
pkgname = hp-omen-gaming-wmi-dkms

View file

@ -1,7 +0,0 @@
obj-m += hp-wmi.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

View file

@ -8,19 +8,13 @@ pkgdesc="HP WMI driver for OMEN Gaming laptops (unlocked TGP and board 8E35 supp
arch=('any')
license=('GPL2')
depends=('dkms' 'linux-headers')
source=("hp-wmi.c" "Makefile" "dkms.conf")
sha256sums=('698bc594f2d73a79b4bf9293885a68e668b2b556e72996a7e3b20fd3aab3e211'
'9b9e71d6d7ddbd1fa2c2d02dbe7521e93098f8e16569f6f9aba1e62afe4aa297'
'b16a030893d665ed3aa638352e272bd99de54fcf04ffda02083040e811d0c81b')
build() {
make
}
makedepends=('git')
source=("git+https://github.com/nevetscar/${pkgname}.git")
sha256sums=('SKIP')
package() {
cd "${srcdir}/${pkgname}"
install -d "${pkgdir}/usr/src/${_pkgname}-${pkgver}"
cp -r "${srcdir}/hp-wmi.c" "${pkgdir}/usr/src/${_pkgname}-${pkgver}/"
cp -r "${srcdir}/Makefile" "${pkgdir}/usr/src/${_pkgname}-${pkgver}/"
cp -r "${srcdir}/dkms.conf" "${pkgdir}/usr/src/${_pkgname}-${pkgver}/"
}
cp -r . "${pkgdir}/usr/src/${_pkgname}-${pkgver}/"
rm -rf "${pkgdir}/usr/src/${_pkgname}-${pkgver}/.git"
}

View file

@ -1,7 +0,0 @@
PACKAGE_NAME="hp-wmi"
PACKAGE_VERSION="1.0.0"
BUILT_MODULE_NAME[0]="hp-wmi"
DEST_MODULE_LOCATION[0]="/kernel/drivers/platform/x86"
AUTOINSTALL="yes"
MAKE[0]="'make' -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"

2426
hp-wmi.c

File diff suppressed because it is too large Load diff