summaryrefslogtreecommitdiff
path: root/pcr/python2-rosdistro/PKGBUILD
blob: 05333a402d4e470dc25552e79fc337dbe40d62a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=python2-rosdistro
pkgver=0.4.2
pkgrel=1
pkgdesc="A tool to work with rosdistro files"
url="http://wiki.ros.org/rosdistro"
depends=('python2')
makedepends=('python2' 'python2-setuptools')
license=('BSD3, MIT')
arch=('any')
source=("https://pypi.python.org/packages/source/r/rosdistro/rosdistro-$pkgver.tar.gz")
md5sums=('2d8ac4214796e67c758a1318b6531b4f')

build() {
  cd $srcdir/rosdistro-$pkgver
  python2 setup.py build
}

package() {
  cd $srcdir/rosdistro-$pkgver
  python2 setup.py install --root="$pkgdir" --optimize=1
}