subrepo:
  subdir:   "spacenavd"
  merged:   "e3226c7"
upstream:
  origin:   "https://aur.archlinux.org/spacenavd"
  branch:   "master"
  commit:   "e3226c7"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2020-12-30 17:28:10 +01:00
parent 9eec14901d
commit 1fe11e3ac8
5 changed files with 75 additions and 0 deletions

17
spacenavd/.SRCINFO Normal file

@ -0,0 +1,17 @@
pkgbase = spacenavd
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).
pkgver = 0.7.1
pkgrel = 2
url = http://spacenav.sourceforge.net/
arch = x86_64
license = GPL
makedepends = libx11
provides = spacenavd
backup = etc/spnavrc
source = https://github.com/FreeSpacenav/spacenavd/releases/download/v0.7.1/spacenavd-0.7.1.tar.gz
source = spacenavd.service
sha256sums = 9266e19b847dabc79bac0f16984e6104338021f83c784780e2fb569c41529d2b
sha256sums = 5a1122cf44acdf34537bc2ef7c1ad3776872f335b2993d68833c23f999d96c11
pkgname = spacenavd

5
spacenavd/.gitignore vendored Normal file

@ -0,0 +1,5 @@
*.tar.gz
*.tar.xz
*.tar.zst
pkg/
src/

12
spacenavd/.gitrepo Normal file

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/spacenavd
branch = master
commit = e3226c71319b9808da6366c879d9f6c9c8663b2f
parent = 9eec14901d0c3dda2dc0705edb47dad0b7fbac6e
method = merge
cmdver = 0.4.1

31
spacenavd/PKGBUILD Normal file

@ -0,0 +1,31 @@
# Maintainer: Dan Campbell <dan at compiledworks dot com>
# Contributor: Jesus Alvarez <jeezusjr at gmail dot com>
# Creator: Jan Hambrecht <jaham at gmx dot net>
pkgname=spacenavd
pkgver=0.7.1
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=('x86_64')
url="http://spacenav.sourceforge.net/"
license=('GPL')
makedepends=("libx11")
provides=('spacenavd')
backup=('etc/spnavrc')
source=(https://github.com/FreeSpacenav/spacenavd/releases/download/v$pkgver/spacenavd-$pkgver.tar.gz spacenavd.service)
sha256sums=('9266e19b847dabc79bac0f16984e6104338021f83c784780e2fb569c41529d2b'
'5a1122cf44acdf34537bc2ef7c1ad3776872f335b2993d68833c23f999d96c11')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -D -m644 ${srcdir}/spacenavd.service ${pkgdir}/etc/systemd/system/spacenavd.service
install -D -m644 ${srcdir}/$pkgname-$pkgver/doc/example-spnavrc ${pkgdir}/etc/spnavrc
}

@ -0,0 +1,10 @@
[Unit]
Description=Userspace Daemon of the spacenav driver.
[Service]
Type=forking
PIDFile=/var/run/spnavd.pid
ExecStart=/usr/bin/spacenavd
[Install]
WantedBy=multi-user.target