diff options
author | David Olofsson | 2021-09-23 16:20:01 +0200 |
---|---|---|
committer | David Olofsson | 2021-09-23 16:20:01 +0200 |
commit | 58d476c901612ab70f72c7899f48672a71eb78b9 (patch) | |
tree | 9ca6664bbbe6d3c92bd6cb12d59dc53dcc581755 /PKGBUILD | |
download | aur-gitgud-git.tar.gz |
First release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6bc4e351453e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: David "Sid" Olofsson <contact@sidju.se> +pkgname=gitgud-git +pkgver=r14.0655606 +pkgrel=1 +pkgdesc="Git Gud - a utility for when you are told to 'get good'" +arch=('any') +url="https://github.com/fsufitch/git-gud" +license=('Unlicense') +groups=() +depends=( + 'python-argparse' + 'python-pyfiglet' + 'git') +makedepends=('git' + 'python-setuptools') +provides=("${pkgname}") +conflicts=("${pkgname}") +install= +source=('git+https://github.com/fsufitch/git-gud.git') +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/git-gud" +# Git, no tags available + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/git-gud" + python setup.py build +} + +package() { + cd "$srcdir/git-gud" + python setup.py install --root="$pkgdir" --optimize=1 +} |