blob: cf8a43c32b1a6b5049541557e48b0a76aeace587 (
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
|
# Contributor: Jan Hambrecht <jaham at gmx dot net>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=spacenavd
pkgver=0.5
pkgrel=2
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' 'mips64el')
url="http://spacenav.sourceforge.net/"
license=('GPL')
depends=('libx11')
backup=('etc/spnavrc')
source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz
spacenavd
spacenav.service)
md5sums=('0bb21da5315bd376aa508157a9455aaa'
'27a739300d4de07920879af2d2bdd47f'
'b404c8021254636b861651a7a48d17a6')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=$pkgdir/usr
make || return 1
make DESTDIR=$pkgdir install || return 1
# for initscript service
install -D -m755 $srcdir/spacenavd $pkgdir/etc/rc.d/spacenavd || return 1
# for systend service
install -D -m755 $srcdir/spacenav.service $pkgdir/usr/lib/systemd/system/spacenav.service || return 1
}
|