summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 09c97e6a956780fc4fe44aca19d2431478ea2fc2 (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
# Maintainer: Jan Hambrecht <jaham at gmx dot net>

pkgname=spnavcfg
pkgver=1.1
pkgrel=1
pkgdesc="The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc)."
arch=('i686' 'x86_64')
url="https://github.com/FreeSpacenav/spnavcfg"
license=('GPL')
depends=('qt5-base' 'libspnav>=1.0' 'spacenavd>=1.0')
makedepends=('gcc' 'make')
provides=('spnavcfg')
options=()
install=
source=(https://github.com/FreeSpacenav/spnavcfg/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz Makefile.in.diff)
md5sums=('b0eef2c1cd1af54012635d5435c9bdd5'
         'bc0bc835a733fd92b2ae0ba2fd1ab208')

build() {
  cd ${pkgname}-${pkgver}
  patch -p0 < $startdir/Makefile.in.diff
  ./configure --prefix=/usr
  make || return 1
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install || return 1
}