blob: 4cae4c768166b492e141405714a431715bb4f99f (
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
|
# $Id: PKGBUILD 206885 2014-03-05 14:38:41Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Jan Hambrecht <jaham at gmx dot net>
pkgname=libspnav
pkgver=0.2.2
pkgrel=5
pkgdesc="Alternative to the proprietary 3Dconnexion device driver and SDK for their 3D input devices"
arch=('i686' 'x86_64')
url="http://spacenav.sourceforge.net/"
license=('GPL')
depends=('glibc')
makedepends=('libx11')
source=("http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz"
'Makefile.patch')
md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae'
'cc008ea9f5e1abb870c0e2dbc86c3b86')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/Makefile.patch
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--disable-debug
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|