summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a3a334240defefad68c7dd20a3f2c0ba2313a61d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Kyle Keen <keenerd@gmail.com>
pkgname=joymouse
pkgver=0.5
pkgrel=2
pkgdesc="Control mice with the joystick."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/joymouse-linux/"
license=('GPL')
depends=('libx11' 'libxtst')
source=(http://downloads.sourceforge.net/project/joymouse-linux/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz)
_watch="http://sourceforge.net/projects/joymouse-linux/files/"
md5sums=('083696c9c8cfd222ce6d9a72fdbb40b5')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  CFLAGS+=' -Wno-error=format-security'
  ./configure prefix="$pkgdir"/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make install
}