diff options
author | Ingo Heimbach | 2020-04-23 21:40:31 +0200 |
---|---|---|
committer | Ingo Heimbach | 2020-04-23 21:40:31 +0200 |
commit | 0190839335cafb3aad3920d469122f9d1ebf0ff8 (patch) | |
tree | b50f9a4c779e53df8faeebcc55f2458d16a7f6a8 /PKGBUILD | |
download | aur-0190839335cafb3aad3920d469122f9d1ebf0ff8.tar.gz |
Publish version 0.2.3 of `git-clog`
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7dfd11d6beaf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Ingo Heimbach <i.heimbach@fz-juelich.de> + +pkgname="git-clog" +pkgver="0.2.3" +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/IngoHeimbach/git-clog" +license=("MIT") +depends=("python") +makedepends=("python-setuptools") +source=("https://github.com/IngoHeimbach/git-clog/archive/v${pkgver}.tar.gz") +sha256sums=("5e3e62d704d6aa20a4e6c286b7b7fa3f4218bd7ca5128fcd8b801d26d1be777e") + +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 +} |