blob: 875904f45c7dea6b32e053eaf7e6ec135ea937b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Contributor (Arch): 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
}
|