blob: 5ab73edf01a7368c6e974b4501a22df147fa2986 (
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
31
|
# Maintainer: Sven Karsten Greiner <sven@sammyshp.de>
# Contributor: Dan Campbell <dan at compiledworks dot com>
# Contributor: Jesus Alvarez <jeezusjr at gmail dot com>
# Contributor: Jan Hambrecht <jaham at gmx dot net>
pkgname=spacenavd
pkgver=1.3
pkgrel=1
pkgdesc='Free user-space driver for 6-dof space-mice (space navigator, space pilot, space traveller, ...)'
arch=('x86_64')
url='https://spacenav.sourceforge.net/'
license=('GPL-3.0-or-later')
makedepends=("libx11")
backup=('etc/spnavrc')
source=("https://github.com/FreeSpacenav/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
"spacenavd.service")
sha256sums=('4302836c31f7e0998ae7bb85e4d357b85cb8b9bcbc381abfaba4f647c5c2f726'
'8ec0531f98dabde894412c3e5d60870f776ed546c11873f190ea6f7ccf6ad956')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D -m644 $srcdir/spacenavd.service $pkgdir/usr/lib/systemd/system/spacenavd.service
install -D -m644 $srcdir/$pkgname-$pkgver/doc/example-spnavrc $pkgdir/etc/spnavrc
}
|