diff options
author | Grider | 2022-01-21 22:25:44 +0000 |
---|---|---|
committer | Grider | 2022-01-21 22:25:44 +0000 |
commit | 53b780da65f1937a9fa2435e2cae85299c0f6c23 (patch) | |
tree | 585d8372c5a6f3c50577b6fee0d93cacde9842de | |
download | aur-53b780da65f1937a9fa2435e2cae85299c0f6c23.tar.gz |
First working release
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3edce987947e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = hid-hp-zbook-dkms-git + pkgdesc = HP ZBook x2 G4 HID driver + pkgver = 0.1.1 + pkgrel = 1 + url = http://github.com/himekifee/hid-hp-zbook.git + arch = x86_64 + license = GPL + makedepends = git + makedepends = linux-headers + depends = dkms + source = git+https://github.com/himekifee/hid-hp-zbook.git + sha512sums = SKIP + +pkgname = hid-hp-zbook-dkms-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3051cc2f85f4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Grider <himekifee@gmail.com> + +pkgname=hid-hp-zbook-dkms-git +_pkgbase=hid-hp-zbook +pkgver=0.1.1 +pkgrel=1 +pkgdesc="HP ZBook x2 G4 HID driver" +arch=('x86_64') +url="http://github.com/himekifee/hid-hp-zbook.git" +license=('GPL') +depends=('dkms') +makedepends=('git' 'linux-headers') +source=("git+https://github.com/himekifee/hid-hp-zbook.git") +sha512sums=('SKIP') + + +package() { + cd ${srcdir}/hid-hp-zbook + install -Dt "${pkgdir}/usr/src/${_pkgbase}-${pkgver}" -m644 * + install -Dt "${pkgdir}/usr/lib/udev/rules.d" -m644 99-hp-zbook.rules + + # Set name and version + sed -e "s/@PKGVER@/${pkgver}/" \ + -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf +}
\ No newline at end of file |