summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13dc34a29ee5a4cbbeb9986039be25710c23d5bf (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
# Maintainer: Dario Giovannetti <dev at dariogiovannetti dot net>

_projname=repocheck
_authname=kynikos
pkgname=${_projname}-git
pkgver=20.ac92bd4
pkgrel=1
pkgdesc='Check the status of code repositories under a root directory'
arch=('any')
url="https://github.com/${_authname}/${_projname}"
license=('GPL3')
depends=('python')
makedepends=('git' 'python-setuptools')
source=("git://github.com/${_authname}/${_projname}.git")
md5sums=('SKIP')

pkgver() {
  cd $_projname
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

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