updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / imwheel / PKGBUILD
blobdc548e513a730320507c0bedfe07371c9779f68e
1 # Contributor: Travis Willard <travis@archlinux.org> 
2 # Contributor: Paul Mattal <paul@mattal.com>
4 pkgname=imwheel
5 pkgver=1.0.0pre12
6 pkgrel=4
7 pkgdesc="Mouse Wheel Tool for XFree86/Xorg"
8 arch=(i686 x86_64)
9 url="http://imwheel.sourceforge.net"
10 license=('GPL')
11 depends=('libxtst' 'libxmu')
12 backup=(etc/X11/imwheel/imwheelrc)
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz 
14         etcdir-install.patch)
15 md5sums=('21d81db739ae95d96f9b650f7b826a14'
16         '51359d20eb2a95136564db2d32e3ec38')
18 build() {
19   cd $srcdir/$pkgname-$pkgver
20   # patch to fix buggy location of ETCDIR
21   patch -p1 -i ${srcdir}/etcdir-install.patch || return 1
23   ./configure --prefix=/usr \
24     --mandir=/usr/share/man
25   make || return 1
26   make DESTDIR=$pkgdir install