You are not logged in.
I'm trying to get my new Logitech MX1000 mouse working at 100% of its abilities. I found imwheel, which is a great tool to assign any actions I can imagine to mouse's buttons. The problem is when you try to assign an action to key greater than 9 (as imwheel supports only 9 buttons).
MX1000 has buttons 10, 11 and 12, so... here's the PKGBUILD, which corrects this. It's a standard imwheel PKGBUILD taken from ABS with:
- two extra patches,
- fixed licence field,
My question is:
Can I subbmit this PKGBUILD to AUR in this form, which uses _pkgname variable or should I delete this variable and rename all '$_pkgname' to 'imwheel' statements?
# $Id: PKGBUILD,v 1.2 2006/01/26 02:39:54 paul Exp $
# Contributor: Paul Mattal <paul@mattal.com>
# Maintainer: Paul Mattal <paul@archlinux.org>
# Contributor: raku <raku@b4net.int.pl>
_pkgname=imwheel
pkgname=$_pkgname-enchanced
pkgver=1.0.0pre12
pkgrel=1
pkgdesc="Mouse Wheel Tool for XFree86/Xorg - with extra support for more than 9 buttons"
url="http://imwheel.sourceforge.net"
license="GPL"
depends=(libxtst libxmu)
makedepends=()
conflicts=('imwheel')
replaces=()
backup=(etc/X11/imwheel/imwheelrc)
install=
source=(http://dl.sourceforge.net/sourceforge/$_pkgname/$_pkgname-$pkgver.tar.gz \
http://ftp.debian.org/debian/pool/main/i/$_pkgname/${_pkgname}_$pkgver-7.diff.gz \
http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/$_pkgname/$_pkgname-$pkgver-enable-extra-buttons-by-default.patch?view=co)
md5sums=('21d81db739ae95d96f9b650f7b826a14' '56544b2419b9417ba5481b0e40180218'\
'6ca918747e148737e6aaccd49558bf89')
build() {
# patch to fix buggy location of ETCDIR
cd $startdir/src
patch -Np0 -i imwheel_1.0.0pre12-7.diff || return 1
patch -Np0 -i 'imwheel-1.0.0pre12-enable-extra-buttons-by-default.patch?view=co' ||return 1
cd $startdir/src/$_pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
# install default config file
# (removed by debian patches)
install -D -m644 $startdir/src/$_pkgname-$pkgver/imwheelrc $startdir/pkg/etc/X11/imwheel/imwheelrc
}
raku
Offline