summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a800f92ad58d8d7d7a02839ade4dc2caf40e5845 (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
28
29
# Maintainer: ftsell <aur@finn-thorben.me>
pkgname=python-catkin-tools-git
pkgver=r677.05acb14
pkgrel=1
_gitname=catkin_tools
_gitbranch=master
pkgdesc="Command line tools for working with catkin"
arch=(any)
url="https://github.com/catkin/catkin_tools"
license=("Apache")
makedepends=("git")
depends=("python" "python-catkin_pkg" "python-pyaml" "python-setuptools" "python-osrf_pycommon" "python-sphinxcontrib-programoutput")
conflicts=("python2-catkin-tools")
source=("${_gitname}::git+https://github.com/catkin/${_gitname}.git#branch=${_gitbranch}")
sha256sums=("SKIP")

pkgver() {
	cd "$srcdir/${_gitname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


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