summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c0f122c86e23e12656b762816cd83c1d37d5834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Kartik Mohta <kartikmohta@gmail.com>

pkgbase=('python-rosdistro')
pkgname=('python-rosdistro')
_module='rosdistro'
pkgver='0.6.2'
pkgrel=2
pkgdesc="A tool to work with rosdistro files"
url="http://wiki.ros.org/rosdistro"
depends=('python' 'python-catkin_pkg' 'python-rospkg' 'python-yaml')
conflicts=('python2-rosdistro')
makedepends=('python-setuptools')
license=('BSD')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/r/rosdistro/rosdistro-${pkgver}.tar.gz")
md5sums=('5ef1af890d0fc92c6920c4c86ef498cd')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}