summaryrefslogtreecommitdiff
path: root/pcr/libspnav/PKGBUILD
blob: 01325c1cfdb7923755f65b311373bc1da617f286 (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
# Contributor: Jan Hambrecht <jaham at gmx dot net>
# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu>

pkgname=libspnav
pkgver=0.2.2
pkgrel=3
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')
source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz Makefile.in.diff)
md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae'
         'f9122ad4ca823e45bfa0538187df6270')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -p0 < $srcdir/Makefile.in.diff
  ./configure --prefix=$pkgdir/usr --disable-debug
  make || return 1
  install -d $pkgdir/usr/lib
  install -d $pkgdir/usr/include
  make DESTDIR=$pkgdir install || return 1
}