summaryrefslogtreecommitdiff
path: root/pcr/rosinstall/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-21 01:32:11 -0800
committerroot <root@rshg054.dnsready.net>2012-11-21 01:32:11 -0800
commitf48f6c82e23a3bacb8a0952c2d2cf9af1e6bf42d (patch)
treed578e4bdc10acc78968e3e5cdfce8dcd0289a60d /pcr/rosinstall/PKGBUILD
parent0a05643b928d724c048e4306955642d91f24d33c (diff)
Wed Nov 21 01:32:09 PST 2012
Diffstat (limited to 'pcr/rosinstall/PKGBUILD')
-rw-r--r--pcr/rosinstall/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/rosinstall/PKGBUILD b/pcr/rosinstall/PKGBUILD
new file mode 100644
index 000000000..3f91dbe6c
--- /dev/null
+++ b/pcr/rosinstall/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: Georg Bremer <pkgbuild@dschoordsch.de>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+
+pkgdesc='Tool to download/boostrap the ROS stack'
+url='http://www.ros.org/'
+
+pkgname='rosinstall'
+pkgver='0.6.20'
+pkgrel='1'
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('python2' 'cmake' 'wget' 'vcstools'
+ 'git' 'python2-distribute' 'python2-yaml')
+
+source=("http://pr.willowgarage.com/downloads/$pkgname/$pkgname-$pkgver.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/env python /env python2 /' src/rosinstall/setupfiles.py
+ python2 setup.py install --root=$pkgdir --optimize=1
+}