summaryrefslogtreecommitdiff
path: root/pcr/rosinstall/PKGBUILD
blob: e171ad50608ed3b7eec0ef3d1ef5b1951b0e23dc (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
# 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.7.3'
pkgrel='1'
arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
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
}