summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 962350d0c3bc46e512a54c343ba4065679328652 (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>

pkgname=('python2-vcstools')
pkgver='0.1.42'
pkgrel=3
pkgdesc='Python library for interacting with various VCS systems'
arch=('any')
url='https://github.com/vcstools/vcstools'
license=('BSD')
depends=('python2' 'python2-dateutil' 'python2-yaml')
makedepends=('python2-setuptools')

conflicts=()
source=("https://github.com/vcstools/vcstools/archive/${pkgver}.tar.gz")
sha256sums=('3dccd4d3c82d3be6b0ba6a2def83af7e68ee495d108587ac66aa74720e5e9c97')

_module='vcstools'

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

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