blob: 0f06af41837d4a2b8bbfab65879cbb458d0fb991 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=spacenav-daemon
_pkgname=${pkgname%-daemon}
pkgver=0.5
pkgrel=3
pkgdesc="Free Spacenav Daemon is a free alternative to the 3Dconnexion device driver, for their 3D input devices."
arch=(
i686
x86_64
mips64el
)
conflicts=${_pkgname}d
replaces=${_pkgname}d
url=http://$_pkgname.sourceforge.net/
license=GPL2
depends=libx11
backup=etc/spnavrc
source=(
http://downloads.sourceforge.net/$_pkgname/${_pkgname}d-$pkgver.tar.gz
$_pkgname.service
spnavrc
)
sha512sums=(
908f598e4ba5febbc1191cc32cd444817acd40c22e79b1f139c50787e1e25d4cd8328dc3fd6d9dde09bb80232b52f0e75ae429fb3345eb51fbe5a47577b038e2
61397646f7dda23b2cef5168f23e21c017801f156374c7fab7bae650cd3cee0ea173d3cb65ae2f0be580aa399999a388df2d804b9d00c01db430c820dbc60160
f97866a77fe9e6bee8df046ad62576a1cdbba26323218cd6336de66e0898f403bb33da12666fe75f00bb9bf078f895e8e7de360196079f83082fc94a23f71728
)
build() {
cd $srcdir/${_pkgname}d-$pkgver
./configure --prefix=$pkgdir/usr
make
}
package() {
cd $srcdir/${_pkgname}d-$pkgver
make DESTDIR=$pkgdir install
install -Dm644 $srcdir/$_pkgname.service $pkgdir/usr/lib/systemd/system/$_pkgname.service
install -Dm644 $srcdir/spnavrc $pkgdir/etc/spnavrc
}
# vim:set ts=2 sw=2 et:
|