diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
commit | 6f102d1647580e0bb9513c124b26a64c77da4f15 (patch) | |
tree | 0340f1f588be251183fe2b251bdba778f2c85c22 /pcr/python2-rospkg/PKGBUILD | |
parent | 433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff) | |
parent | b6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff) | |
download | abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.gz abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.bz2 abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/python2-rospkg/PKGBUILD')
-rw-r--r-- | pcr/python2-rospkg/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/python2-rospkg/PKGBUILD b/pcr/python2-rospkg/PKGBUILD new file mode 100644 index 000000000..cf6116ba0 --- /dev/null +++ b/pcr/python2-rospkg/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: Somebody <somebody[at]foo[dot]tld> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +_name=rospkg +pkgname=python2-rospkg +pkgver=1.0.15 +pkgrel=1 +pkgdesc="provides basic utilities for querying information about ROS packages, stacks, and distributions." +url="http://ros.org/doc/api/rospkg/html/python_api.html" +arch=('x86_64' 'i686') +license=('BSD') +depends=('python2') +optdepends=() +makedepends=('python2-distribute') +conflicts=() +replaces=() +backup=() +source=(http://pr.willowgarage.com/downloads/${_name}/${_name}-${pkgver}.tar.gz) + +build() { + cd ${srcdir}/${_name}-${pkgver} + find -type f -print0 | xargs -0 sed -i -e 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/env python2/g' + python2 setup.py install --root="${pkgdir}" --optimize=1 || return 1 +} |