diff options
Diffstat (limited to 'community/lomoco')
-rw-r--r-- | community/lomoco/PKGBUILD | 40 | ||||
-rw-r--r-- | community/lomoco/lomoco.sh | 21 | ||||
-rw-r--r-- | community/lomoco/lomoco_mouse.conf | 5 |
3 files changed, 0 insertions, 66 deletions
diff --git a/community/lomoco/PKGBUILD b/community/lomoco/PKGBUILD deleted file mode 100644 index fc8ca5598..000000000 --- a/community/lomoco/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# $Id: PKGBUILD 68931 2012-04-06 00:04:27Z dreisner $ -# Maintainer: Jeff Mickey <j@codemac.net> -# Contributor: Shadowhand <woody.gilk@gmail.com> - -pkgname=lomoco -pkgver=1.0 -pkgrel=8 -url="http://www.lomoco.org/" -pkgdesc="Logitech USB mouse configuration program" -license=('GPL') -depends=('libusb-compat') -replaces=('lmctl') -arch=('i686' 'x86_64') -options=(!libtool) -backup=(etc/udev/lomoco_mouse.conf) -source=(http://www.lomoco.org/${pkgname}-${pkgver}.tar.gz - "lomoco_mx518.patch::https://bugs.archlinux.org/task/28180?getfile=8163" - lomoco_mouse.conf - lomoco.sh) -md5sums=('f5197d0a3ee81229c3eecc1e03f7b08d' - '87aeccb99413faf9e49453215c3d0b8a' - '182b10a7e4a1828a93c1d55ef7f81b97' - 'bc92f661641265b33b27895ef24028fd') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -p1 <$srcdir/lomoco_mx518.patch - ./autogen.sh --prefix=/usr --mandir=/usr/share/man - make - make udev-rules - make DESTDIR=${pkgdir} install - - # Fix and install udev rules and helpers - sed -i 's|/etc/sysconfig/logitech_mouse|/etc/udev/lomoco_mouse.conf|g' udev/udev.lomoco - sed -i 's|RUN="lomoco"|RUN+="lomoco.sh"|g' udev/lomoco.rules - sed -i 's|SYSFS|ATTR|' udev/lomoco.rules - install -D -m 644 udev/lomoco.rules ${pkgdir}/usr/lib/udev/rules.d/80-lomoco.rules - install -D -m 755 ../lomoco.sh ${pkgdir}/usr/lib/udev/lomoco.sh - install -D -m 644 ../lomoco_mouse.conf ${pkgdir}/etc/udev/lomoco_mouse.conf -} diff --git a/community/lomoco/lomoco.sh b/community/lomoco/lomoco.sh deleted file mode 100644 index 76e2392da..000000000 --- a/community/lomoco/lomoco.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -if [ -n "$BUSNUM" -a -n "$DEVNUM" ]; then - . /etc/udev/lomoco_mouse.conf - - options= - - if [ -n "$LOGITECH_MOUSE_RESOLUTION" ]; then - options="--$LOGITECH_MOUSE_RESOLUTION" - fi - - case "$LOGITECH_MOUSE_SMS" in - yes) options="$options --sms" ;; - no) options="$options --no-sms" ;; - esac - - if [ -n "$options" ]; then - /usr/bin/lomoco -b $BUSNUM -d $DEVNUM $options - fi - -fi 2>&1 | /usr/bin/logger -t lomoco diff --git a/community/lomoco/lomoco_mouse.conf b/community/lomoco/lomoco_mouse.conf deleted file mode 100644 index b8c534ec2..000000000 --- a/community/lomoco/lomoco_mouse.conf +++ /dev/null @@ -1,5 +0,0 @@ -# Possible Resolutions Are: 400 800 1200 1600 2000 -#LOGITECH_MOUSE_RESOLUTION="800" - -# SmartScroll/Cruise Control (SMS command set): yes or no -#LOGITECH_MOUSE_SMS="no" |