summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da0febe5cf8e73dd17de4f26eb71046f25c12c31 (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
# Maintainer: Lukas Sabota <lukas@lwsabota.com>
# Contributor: Fabian Schoelzel <myfirstname.mylastname@googlemail.com>
# Contributor: mightyjaym <jm.ambrosino@free.fr>
# Contributor: Travis Nickles <ryoohki7@yahoo.com>

pkgname=qjoypad
pkgver=4.3.0
pkgrel=1
pkgdesc='Program with a QT interface that converts gamepad/joystick events into key strokes and mouse actions in XWindows'
arch=('i686' 'x86_64')
url='https://github.com/panzi/qjoypad'
license=('GPL')
depends=('qt5-base' 'libxtst')
install=${pkgname}.install
source=("https://github.com/panzi/$pkgname/archive/v$pkgver.tar.gz")

md5sums=('1e8084db56dacdb863ca5e5e40f0d640')

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/"
  mkdir -p build
  cd build
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
  make
  make DESTDIR="$pkgdir/" install
}