diff options
author | Jean Lucas | 2018-08-17 12:30:48 -0400 |
---|---|---|
committer | Jean Lucas | 2018-08-17 12:30:48 -0400 |
commit | f2a1d4235b6adadcfa52c76885831acd5ba640be (patch) | |
tree | e2dcfd1d4ac39ea10f157668460f6f17e6dbec96 /PKGBUILD | |
download | aur-f2a1d4235b6adadcfa52c76885831acd5ba640be.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..65e17af0a857 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Jean Lucas <jean@4ray.co> + +pkgname=git-bug-git +pkgver=0.2.0+1+gc974cc0 +pkgrel=1 +pkgdesc='Distributed bug tracker embedded in Git (git)' +arch=(i686 x86_64) +url=https://github.com/MichaelMure/git-bug +license=(GPL3) +makedepends=(go) +provides=(git-bug) +conflicts=(git-bug git-bug-bin) +source=(git+$url) +sha512sums=(SKIP) + +pkgver() { + cd git-bug + git describe --tags | sed 's/v//;s/-/+/g' +} + +build() { + cd git-bug + GOPATH="$srcdir"/git-bug go get -v -x github.com/MichaelMure/git-bug +} + +package() { + cd git-bug + install -D bin/git-bug "$pkgdir"/usr/bin/git-bug + install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/git-bug + install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/git-bug +} |