diff options
Diffstat (limited to 'pcr/python2-rospkg')
-rw-r--r-- | pcr/python2-rospkg/PKGBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/pcr/python2-rospkg/PKGBUILD b/pcr/python2-rospkg/PKGBUILD index 875904f45..e2375003e 100644 --- a/pcr/python2-rospkg/PKGBUILD +++ b/pcr/python2-rospkg/PKGBUILD @@ -1,23 +1,30 @@ -# Contributor (Arch): Somebody <somebody[at]foo[dot]tld> +# Contributor (Arch): Lukas Linhart <bugs@almad.net> +# Contributor (Arch): Changaco <changaco ατ changaco δοτ net> +# Contributor (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com> +# Contributor (Arch): Sean Greenslade <zootboysean@gmail.com> # 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') +pkgver=1.0.35 +pkgrel=2 +pkgdesc="ROS - provides basic utilities for querying information about ROS packages, stacks, and distributions." +url="http://docs.ros.org/independent/api/rospkg/html/" +arch=('any') +license=('BSD3') depends=('python2') -optdepends=() makedepends=('python2-distribute') conflicts=() replaces=() backup=() -source=(http://pr.willowgarage.com/downloads/${_name}/${_name}-${pkgver}.tar.gz) +source=("https://pypi.python.org/packages/source/r/rospkg/rospkg-${pkgver}.tar.gz") +md5sums=('de31059c920121b691f7bbdf6973e8dc') build() { - cd ${srcdir}/${_name}-${pkgver} + cd ${srcdir}/rospkg-${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 + python2 setup.py build +} +package() { + cd ${srcdir}/rospkg-${pkgver} + python2 setup.py install --optimize=1 --skip-build --prefix="/usr" --root="${pkgdir}" } |