summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91e2d97f8e2e51e4ce387dfbf9a10e5aeef46994 (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.7.5'
pkgrel=1
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/84/34/ab8d4908cea3d9fdf95cf298ab278421122b5a8303a09b22c9f19eb20e27/rosdistro-0.7.5.tar.gz")
sha256sums=('85908df55c6a930ec41b8ac2d1574c578c4049d8337f4b1843113bec001e6fe6')

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

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