summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98be8f071ad7a0f76a30d1d850681fe272999984 (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
27
28
29
30
31
32
33
# Maintainer: Evans Jahja <evansjahja13@gmail..com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Timur Antipin < kosmocap (at) gmail.com >

pkgname=joy2key
pkgver=1.6.3
pkgrel=4
pkgdesc='Translate joystick movements into keystrokes'
arch=('x86_64' 'i686')
url='https://github.com/joolswills/joy2key'
license=('GPL2')
depends=('libx11' 'xorg-xwininfo')
source=("$pkgname-$pkgver::git+https://github.com/joolswills/joy2key.git")
sha256sums=('SKIP')

# prepare() {
#   patch -p0 -i button_list_segfault.patch
# }

build() {
  cd "$pkgname-$pkgver"

  autoreconf --install
  autoconf
  ./configure --prefix=/usr -x-libraries=/usr/lib
  make
}

package() {
  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: