summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f410933ad3a4f08f46322ea8eb6b20290e9f5f3 (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=2
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')
makedepends=('qt5-tools' 'cmake' 'qt5-x11extras')
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
}