summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/twinhan-remote
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:09 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:22 (GMT)
commite2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch)
treebee3fe89f2988dd244e11791755e129aa8c03b14 /abs/not_built/extra/twinhan-remote
parent8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff)
downloadlinhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/not_built/extra/twinhan-remote')
-rw-r--r--abs/not_built/extra/twinhan-remote/PKGBUILD19
-rw-r--r--abs/not_built/extra/twinhan-remote/twinhan-remote.conf3
-rw-r--r--abs/not_built/extra/twinhan-remote/twinhan-remote.install19
-rw-r--r--abs/not_built/extra/twinhan-remote/usbkbd.kobin0 -> 8017 bytes
4 files changed, 41 insertions, 0 deletions
diff --git a/abs/not_built/extra/twinhan-remote/PKGBUILD b/abs/not_built/extra/twinhan-remote/PKGBUILD
new file mode 100644
index 0000000..d7f56b0
--- /dev/null
+++ b/abs/not_built/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/not_built/extra/twinhan-remote/twinhan-remote.conf b/abs/not_built/extra/twinhan-remote/twinhan-remote.conf
new file mode 100644
index 0000000..e472f04
--- /dev/null
+++ b/abs/not_built/extra/twinhan-remote/twinhan-remote.conf
@@ -0,0 +1,3 @@
+# Disable hid_twinhan
+#
+blacklist hid_twinhan
diff --git a/abs/not_built/extra/twinhan-remote/twinhan-remote.install b/abs/not_built/extra/twinhan-remote/twinhan-remote.install
new file mode 100644
index 0000000..4fa78ad
--- /dev/null
+++ b/abs/not_built/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/not_built/extra/twinhan-remote/usbkbd.ko b/abs/not_built/extra/twinhan-remote/usbkbd.ko
new file mode 100644
index 0000000..6f0cd2c
--- /dev/null
+++ b/abs/not_built/extra/twinhan-remote/usbkbd.ko
Binary files differ