summaryrefslogtreecommitdiff
path: root/artistic/spacenavd
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-02-21 17:53:57 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-02-21 17:53:57 -0200
commit7584562f4a10bc697cd236b243eedd1943291e08 (patch)
tree2a8167fa016ab7bf9f9c0ee216c70ef4e0d45c80 /artistic/spacenavd
parent5bac404e23f0f131ee87d441838e5528258401aa (diff)
downloadabslibre-7584562f4a10bc697cd236b243eedd1943291e08.tar.gz
abslibre-7584562f4a10bc697cd236b243eedd1943291e08.tar.bz2
abslibre-7584562f4a10bc697cd236b243eedd1943291e08.zip
migrating all artistic pkg repo to pcr:
* migrating aqsis, cinepaint-lts, gimp-art, libspnav, spacenavd, spnavcfg and yafaray-git to prc repo.
Diffstat (limited to 'artistic/spacenavd')
-rw-r--r--artistic/spacenavd/PKGBUILD30
-rw-r--r--artistic/spacenavd/spacenav.service10
-rw-r--r--artistic/spacenavd/spacenavd38
3 files changed, 0 insertions, 78 deletions
diff --git a/artistic/spacenavd/PKGBUILD b/artistic/spacenavd/PKGBUILD
deleted file mode 100644
index cf8a43c32..000000000
--- a/artistic/spacenavd/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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
-}
diff --git a/artistic/spacenavd/spacenav.service b/artistic/spacenavd/spacenav.service
deleted file mode 100644
index 30e8019e9..000000000
--- a/artistic/spacenavd/spacenav.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Spacenavigator Daemon Service
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/spacenavd
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/artistic/spacenavd/spacenavd b/artistic/spacenavd/spacenavd
deleted file mode 100644
index 61946197c..000000000
--- a/artistic/spacenavd/spacenavd
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DAEMON=/usr/bin/spacenavd
-
-PID=`pidof -o %PPID $DAEMON`
-case "$1" in
- start)
- stat_busy "Starting Spacenavigator Daemon"
- [ -z "$PID" ] && $DAEMON
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon spacenavd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Spacenavigator Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon spacenavd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0