summaryrefslogtreecommitdiff
path: root/pcr/rosinstall/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 18:41:01 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 18:41:01 +0200
commitef98535d636cd37c1c8d21468def819989b76a14 (patch)
tree8c8492651795ce32259f86596050bfabdfa8edd7 /pcr/rosinstall/PKGBUILD
parent959757ededada0e12a1dcc328520625b60ff6e60 (diff)
downloadabslibre-ef98535d636cd37c1c8d21468def819989b76a14.tar.gz
abslibre-ef98535d636cd37c1c8d21468def819989b76a14.tar.bz2
abslibre-ef98535d636cd37c1c8d21468def819989b76a14.zip
python2-wstool rosinstall
Diffstat (limited to 'pcr/rosinstall/PKGBUILD')
-rw-r--r--pcr/rosinstall/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/pcr/rosinstall/PKGBUILD b/pcr/rosinstall/PKGBUILD
index 0dcfeb95b..71077bc23 100644
--- a/pcr/rosinstall/PKGBUILD
+++ b/pcr/rosinstall/PKGBUILD
@@ -1,21 +1,26 @@
-# Contributor (Arch): Georg Bremer <pkgbuild@dschoordsch.de>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Maintainer (Arch) : Georg Bremer <pkgbuild@dschoordsch.de>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgdesc='Tool to download/boostrap the ROS stack'
url='http://www.ros.org/'
pkgname='rosinstall'
-pkgver='0.6.20'
+pkgver='0.7.3'
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")
+depends=('python2' 'cmake' 'wget' 'python2-vcstools'
+ 'git' 'python2-distribute' 'python2-yaml' 'python2-wstool')
+optdepends=('python2-catkin_pkg: for roslocate'
+'python2-rosdistro: for roslocate')
+source=("http://download.ros.org/downloads/$pkgname/$pkgname-$pkgver.tar.gz")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's/env python /env python2 /' src/rosinstall/setupfiles.py
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root=$pkgdir --optimize=1
}