summaryrefslogtreecommitdiff
path: root/artistic
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-19 17:50:12 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-19 17:50:12 -0300
commit3e87db2197d3eaf31036fd318cf00c10a868a113 (patch)
tree1e177def1be72adcc7ca301f23767db66aa1c64b /artistic
parentc1c2ac8fe58842488caf6885dd54f822347d0810 (diff)
parent6a786c7dc640e38ce3f8485ef30669d03ababd62 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'artistic')
-rw-r--r--artistic/blender-spacenav-libre/PKGBUILD2
-rw-r--r--artistic/spacenavd/PKGBUILD13
-rw-r--r--artistic/spacenavd/spacenav.service10
3 files changed, 21 insertions, 4 deletions
diff --git a/artistic/blender-spacenav-libre/PKGBUILD b/artistic/blender-spacenav-libre/PKGBUILD
index f8fc7fd46..99ddd75ba 100644
--- a/artistic/blender-spacenav-libre/PKGBUILD
+++ b/artistic/blender-spacenav-libre/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=blender
pkgname=blender-spacenav-libre
pkgver=2.63a
-pkgrel=3
+pkgrel=4
epoch=4
pkgdesc="A fully integrated 3D graphics creation suite, compiled with spacenav (without nonfree cuda-toolkit support)"
arch=('i686' 'x86_64' 'mips64el')
diff --git a/artistic/spacenavd/PKGBUILD b/artistic/spacenavd/PKGBUILD
index 1c117b804..cf8a43c32 100644
--- a/artistic/spacenavd/PKGBUILD
+++ b/artistic/spacenavd/PKGBUILD
@@ -3,21 +3,28 @@
pkgname=spacenavd
pkgver=0.5
-pkgrel=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=('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 )
+source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz
+ spacenavd
+ spacenav.service)
md5sums=('0bb21da5315bd376aa508157a9455aaa'
- '27a739300d4de07920879af2d2bdd47f')
+ '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
new file mode 100644
index 000000000..30e8019e9
--- /dev/null
+++ b/artistic/spacenavd/spacenav.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Spacenavigator Daemon Service
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/spacenavd
+
+[Install]
+WantedBy=multi-user.target
+