# Maintainer: Kartik Mohta pkgname=('python2-vcstool') pkgver='0.3.0' pkgrel=1 pkgdesc='A version control system tool designed to make working with multiple repositories easier' arch=('any') url='https://github.com/dirk-thomas/vcstool' license=('Apache') depends=('python2' 'python2-yaml') makedepends=('python2-setuptools') conflicts=('python-vcstool') source=("https://github.com/dirk-thomas/vcstool/archive/${pkgver}.tar.gz") sha256sums=('2b6e4a97454983166e9a5fe08aca41cd8b28288ef693b954bc0e8b8518eafd3b') _module='vcstool' build() { cd "${srcdir}/${_module}-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/${_module}-${pkgver}" python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build }