diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python2-rosinstall/PKGBUILD | 25 | ||||
-rw-r--r-- | pcr/rosinstall/PKGBUILD | 26 |
2 files changed, 25 insertions, 26 deletions
diff --git a/pcr/python2-rosinstall/PKGBUILD b/pcr/python2-rosinstall/PKGBUILD new file mode 100644 index 000000000..940e3443d --- /dev/null +++ b/pcr/python2-rosinstall/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor (Arch) : Sean Greenslade <zootboysean @ gmail . com> +# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> + +pkgdesc='Tool to download/boostrap the ROS stack' +url='http://www.ros.org/' + +pkgname='python2-rosinstall' +pkgver='0.7.5' +pkgrel='1' +arch=('any') +license=('BSD3') +depends=('python2' 'cmake' 'python2-vcstools' 'python2-wstool' + 'python2-rosdistro' 'git' 'python2-yaml') +makedepends=('python2-setuptools') +source=("http://download.ros.org/downloads/rosinstall/rosinstall-$pkgver.tar.gz") + +build() { + cd "${srcdir}/rosinstall-${pkgver}" + sed -i 's/env python /env python2 /' src/rosinstall/setupfiles.py +} +package() { + cd "${srcdir}/rosinstall-${pkgver}" + python2 setup.py install --root=$pkgdir --optimize=1 +} +md5sums=('7824a968e98f6ed79ddd0740c8fe5035') diff --git a/pcr/rosinstall/PKGBUILD b/pcr/rosinstall/PKGBUILD deleted file mode 100644 index e171ad506..000000000 --- a/pcr/rosinstall/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# 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 -} |