blob: efa09245b9f928a2eea60bfd5069a52bee7e2157 (
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
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: pobrn <pobrn at protonmail dot com>
_pkgname=git-of-theseus
pkgname=${_pkgname}-git
pkgver=0.2.0.r31.gc949a53
pkgrel=1
pkgdesc='Plot stats on Git repositories'
arch=('any')
url='https://github.com/erikbern/git-of-theseus'
depends=('python-gitpython'
'python-numpy'
'python-tqdm'
'python-wcmatch'
'python-pygments'
'python-matplotlib')
makedepends=('git' 'python-setuptools')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
license=('Apache')
source=("${_pkgname}::git+https://github.com/erikbern/git-of-theseus.git")
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${_pkgname}"
python setup.py build
}
package() {
cd "${_pkgname}"
python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
}
|