blob: 99adcdf1a9975275c420146dab5097466eee3c16 (
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
|
# Maintainer: Ingo Meyer <IJ_M@gmx.de>
pkgname="git-clog"
pkgver="0.3.0"
pkgrel="1"
pkgdesc="A tool to colorize the commit graph of a Git repository by interpreting the first six commit hash digits as an RGB color value."
arch=("any")
url="https://github.com/IngoMeyer441/git-clog"
license=("MIT")
depends=("python")
makedepends=("python-setuptools")
source=("https://github.com/IngoMeyer441/git-clog/archive/v${pkgver}.tar.gz")
sha256sums=("68f53c1275ad8462bb798c029b444e3ecfb9eab0a0fe326e5c58ecdf84e505b1")
build() {
cd "${srcdir}/${pkgname}-${pkgver}" || return
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}" || return
python setup.py install --optimize=1 \
--prefix=/usr \
--root="${pkgdir}" \
--skip-build
}
|