summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6946e6e63b1fcdf9ecb6fb6d1e18e832d4d50d6a (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
27
# Maintainer: Kartik Mohta <kartikmohta@gmail.com>

pkgbase='python-catkin_lint'
pkgname=('python-catkin_lint')
_module='catkin_lint'
pkgver='1.6.1'
pkgrel=1
pkgdesc="Check catkin packages for common errors"
url="https://github.com/fkie/catkin_lint"
depends=('python' 'python-catkin_pkg')
provides=('python-catkin-lint')
conflicts=('python2-catkin_lint' 'python-catkin-lint')
makedepends=('python-setuptools')
license=('BSD')
arch=('any')
source=("https://files.pythonhosted.org/packages/e1/c5/0ea8509779e09623cc012c91639dddaa8d359f54e3e4a0b8478bbe5d2b52/catkin_lint-1.6.1.tar.gz")
sha256sums=('5435ae5055cb94b0e7524d7a88c39e64a8cac397a40d75b4823e10b43fb94335')

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

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