diff options
author | Britney Fransen <brfransen@gmail.com> | 2012-05-16 17:37:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2012-05-16 17:37:28 (GMT) |
commit | 96e53f48cac3e176182b224a7f9d1897f420649f (patch) | |
tree | 7fae150a130b3e9555b986f9ba6fea8b6763cbb1 /abs/extra/twinhan-remote | |
parent | 71cfd1ae3aeeb1989869a0d8e948340602ef1c8e (diff) | |
download | linhes_pkgbuild-96e53f48cac3e176182b224a7f9d1897f420649f.zip linhes_pkgbuild-96e53f48cac3e176182b224a7f9d1897f420649f.tar.gz linhes_pkgbuild-96e53f48cac3e176182b224a7f9d1897f420649f.tar.bz2 |
twinhan-remote: initial inclusion. refs #820
Diffstat (limited to 'abs/extra/twinhan-remote')
-rw-r--r-- | abs/extra/twinhan-remote/PKGBUILD | 19 | ||||
-rw-r--r-- | abs/extra/twinhan-remote/twinhan-remote.conf | 3 | ||||
-rw-r--r-- | abs/extra/twinhan-remote/twinhan-remote.install | 19 | ||||
-rw-r--r-- | abs/extra/twinhan-remote/usbkbd.ko | bin | 0 -> 8017 bytes |
4 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra/twinhan-remote/PKGBUILD b/abs/extra/twinhan-remote/PKGBUILD new file mode 100644 index 0000000..d7f56b0 --- /dev/null +++ b/abs/extra/twinhan-remote/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=twinhan-remote +pkgver=1 +pkgrel=1 +pkgdesc="Provides usbkbd.ko for older Twinhan remotes." +replaces=() +arch=('i686' 'x86_64') +url="" +source=('twinhan-remote.conf' 'usbkbd.ko') +install=twinhan-remote.install + +build() { + cd ${srcdir} + mkdir -p ${pkgdir}/etc/modprobe.d + install -D -m644 "twinhan-remote.conf" "${pkgdir}/etc/modprobe.d/" + mkdir -p ${pkgdir}/lib/modules/2.6.39-LinHES/kernel/drivers/hid/usbhid/ + install -D -m644 "usbkbd.ko" "${pkgdir}/lib/modules/2.6.39-LinHES/kernel/drivers/hid/usbhid/" +} +md5sums=('3d7cddd5f3433ffe6d4031d1cf9e859d' + 'feefbe9b5e4861c9f2faf85b75395ac0') diff --git a/abs/extra/twinhan-remote/twinhan-remote.conf b/abs/extra/twinhan-remote/twinhan-remote.conf new file mode 100644 index 0000000..e472f04 --- /dev/null +++ b/abs/extra/twinhan-remote/twinhan-remote.conf @@ -0,0 +1,3 @@ +# Disable hid_twinhan +# +blacklist hid_twinhan diff --git a/abs/extra/twinhan-remote/twinhan-remote.install b/abs/extra/twinhan-remote/twinhan-remote.install new file mode 100644 index 0000000..4fa78ad --- /dev/null +++ b/abs/extra/twinhan-remote/twinhan-remote.install @@ -0,0 +1,19 @@ +KERNEL_NAME= +KERNEL_VERSION=`/bin/uname -r` + +post_install () { + # updating module dependencies + echo ">>> Updating module dependencies. Please wait ..." + /sbin/depmod $KERNEL_VERSION + # generate init ramdisks + echo ">>> Generating ramdisk, using mkinitcpio. Please wait..." + /sbin/mkinitcpio -p kernel26${KERNEL_NAME} +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/abs/extra/twinhan-remote/usbkbd.ko b/abs/extra/twinhan-remote/usbkbd.ko Binary files differnew file mode 100644 index 0000000..6f0cd2c --- /dev/null +++ b/abs/extra/twinhan-remote/usbkbd.ko |