blob: 5987411542cd512ad38a49c7451de010f77ec298 (
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
|
# Maintainer: Torsten Sadowski <tsadowski at gmx dot net>
pkgname=libspnav-git
_pkgname=libspnav
pkgver=r39.79ad169
pkgrel=1
pkgdesc="Alternative to the proprietary 3Dconnexion device driver and SDK for their 3D input devices"
arch=(x86_64)
url='https://spacenav.sourceforge.net/'
license=(GPL)
depends=(libx11)
conflicts=("$_pkgname")
provides=("$_pkgname")
source=("git+https://github.com/FreeSpacenav/libspnav.git"
)
sha256sums=('SKIP'
)
pkgver() {
cd "$srcdir"/"$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
./configure --prefix=/usr \
--disable-debug
make
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir" install
}
|