2020-12-30 16:26:11 +00:00
# Maintainer: Jan Hambrecht <jaham at gmx dot net>
pkgname = spnavcfg
2021-01-07 14:10:48 +00:00
pkgver = 0.3.1
pkgrel = 3
2020-12-30 16:26:11 +00:00
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' )
2021-01-07 14:10:48 +00:00
url = "https://github.com/FreeSpacenav/spnavcfg"
2020-12-30 16:26:11 +00:00
license = ( 'GPL' )
2021-01-01 21:16:30 +00:00
depends = ( gtk2)
2020-12-30 16:26:11 +00:00
makedepends = ( 'gcc' 'make' )
provides = ( 'spnavcfg' )
options = ( )
install =
2021-01-07 14:10:48 +00:00
source = ( https://github.com/FreeSpacenav/spnavcfg/releases/download/v$pkgver /$pkgname -$pkgver .tar.gz
Makefile.in.diff)
md5sums = ( 'bf5bda8e4fd3fa3e45fe47cd26394fae'
'b85402ad686e3ef10446c192166c3a0a' )
2020-12-30 16:26:11 +00:00
build( ) {
cd ${ pkgname } -${ pkgver }
2021-01-07 14:10:48 +00:00
patch -p0 < $startdir /Makefile.in.diff
2020-12-30 16:26:11 +00:00
./configure --prefix= /usr
make || return 1
}
package( ) {
cd ${ pkgname } -${ pkgver }
make DESTDIR = " ${ pkgdir } " install || return 1
}