# Maintainer: Ingo Meyer 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 }