PKGBUILDs/extra/imwheel/PKGBUILD

27 lines
777 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Travis Willard <travis@archlinux.org>
# Contributor: Paul Mattal <paul@mattal.com>
pkgname=imwheel
pkgver=1.0.0pre12
pkgrel=3
pkgdesc="Mouse Wheel Tool for XFree86/Xorg"
arch=(i686 x86_64)
url="http://imwheel.sourceforge.net"
license=('GPL')
depends=(libxtst libxmu)
backup=(etc/X11/imwheel/imwheelrc)
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz etcdir-install.patch)
md5sums=('21d81db739ae95d96f9b650f7b826a14' '51359d20eb2a95136564db2d32e3ec38')
build() {
# patch to fix buggy location of ETCDIR
cd $startdir/src
patch -p0 <etcdir-install.patch
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}