summaryrefslogtreecommitdiff
path: root/pcr/spnavcfg
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-02-21 17:53:57 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-02-21 17:53:57 -0200
commit7584562f4a10bc697cd236b243eedd1943291e08 (patch)
tree2a8167fa016ab7bf9f9c0ee216c70ef4e0d45c80 /pcr/spnavcfg
parent5bac404e23f0f131ee87d441838e5528258401aa (diff)
downloadabslibre-7584562f4a10bc697cd236b243eedd1943291e08.tar.gz
abslibre-7584562f4a10bc697cd236b243eedd1943291e08.tar.bz2
abslibre-7584562f4a10bc697cd236b243eedd1943291e08.zip
migrating all artistic pkg repo to pcr:
* migrating aqsis, cinepaint-lts, gimp-art, libspnav, spacenavd, spnavcfg and yafaray-git to prc repo.
Diffstat (limited to 'pcr/spnavcfg')
-rw-r--r--pcr/spnavcfg/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/spnavcfg/PKGBUILD b/pcr/spnavcfg/PKGBUILD
new file mode 100644
index 000000000..cbea06d01
--- /dev/null
+++ b/pcr/spnavcfg/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: Jan Hambrecht <jaham at gmx dot net>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=spnavcfg
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='A libre version of 3Dconnexion'\''s 3D input device drivers configuration'
+arch=(i686 x86_64 mips64el)
+url=http://spacenav.sourceforge.net/
+license=(GPL)
+depends=(gtk2)
+source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz)
+sha512sums=(8cda7e8c9c2aa0875c6cf19e96ec47b9492acdcb110e9845f278ede44bee733876a56e2aa2d1198f54d8fecb978fcfe0a61e8f7b7fe19c2754eceec957172e34)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i -e 's/$(LDFLAGS)/$(LDFLAGS) -lX11/' Makefile.in
+ ./configure --prefix=$pkgdir/usr
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+}