Package Details: git-bug-bin 0.8.0-1

Git Clone URL: https://aur.archlinux.org/git-bug-bin.git (read-only, click to copy)
Package Base: git-bug-bin
Description: Distributed bug tracker embedded in Git
Upstream URL: https://github.com/MichaelMure/git-bug
Keywords: issue tracker
Licenses: GPL3
Conflicts: git-bug
Provides: git-bug
Submitter: 1ace
Maintainer: 46620
Last Packager: 46620
Votes: 6
Popularity: 0.52
First Submitted: 2018-08-17 17:20 (UTC)
Last Updated: 2023-10-22 12:22 (UTC)

Latest Comments

aaaaa commented on 2024-03-24 17:26 (UTC)

==> Starting package()...
install: cannot stat '/home/aki/src/arch-ignore/external.d/git-bug-bin/src/git-bug-0.8.0/misc/bash_completion/*': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

Seems like the directory structure changed in c732a18, but I have no idea how it didn't break previously. Following patch fixes it:

From cb981b702abf01e383c37b44a873eaaf2df498c9 Mon Sep 17 00:00:00 2001
From: Aki <please@ignore.pl>
Date: Sun, 24 Mar 2024 17:49:33 +0100
Subject: [PATCH] Install completion scripts from the new directory

---
 .SRCINFO | 2 +-
 PKGBUILD | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 15850b7..67f6732 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = git-bug-bin
    pkgdesc = Distributed bug tracker embedded in Git
    pkgver = 0.8.0
-   pkgrel = 1
+   pkgrel = 2
    url = https://github.com/MichaelMure/git-bug
    arch = x86_64
    arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index e99af1c..a6b6d22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 _pkgname=git-bug
 pkgname=git-bug-bin
 pkgver=0.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Distributed bug tracker embedded in Git"
 arch=('x86_64' 'i686' 'arm')
 url='https://github.com/MichaelMure/git-bug'
@@ -28,8 +28,8 @@ package() {
   install -Dm755 "${!_source_bin##*/}" "$pkgdir/usr/bin/$_pkgname"

   # Shell completion
-  install -Dm644 -t "$pkgdir/usr/share/bash-completion/completions/" "$srcdir/$_pkgname-$pkgver/misc/bash_completion/"*
-  install -Dm644 -t "$pkgdir/usr/share/zsh/site-functions/" "$srcdir/$_pkgname-$pkgver/misc/zsh_completion/"*
+  install -Dm644 -t "$pkgdir/usr/share/bash-completion/completions/" "$srcdir/$_pkgname-$pkgver/misc/completion/bash/"*
+  install -Dm644 -t "$pkgdir/usr/share/zsh/site-functions/" "$srcdir/$_pkgname-$pkgver/misc/completion/zsh/"*

   # Fixup zsh completion
   mv "$pkgdir/usr/share/zsh/site-functions/$_pkgname" "$pkgdir/usr/share/zsh/site-functions/_$_pkgname"
-- 
2.44.0

foxbox commented on 2023-10-22 16:05 (UTC)

==> Validating source_x86_64 files with sha256sums... git-bug_linux_amd64 ... FAILED

Did upstream change the tag commit? It seems sha256 is not valid with the update to v0.8.0 today...

dtluna commented on 2019-05-01 18:51 (UTC)

==> Validating source_x86_64 files with sha256sums... git-bug_linux_amd64 ... FAILED ==> ERROR: One or more files did not pass the validity check!

x4m3 commented on 2018-08-19 23:03 (UTC)

hi, would it be possible to add the man pages and the bash/zsh completion for this pkgbuild?

the man pages are available at https://github.com/MichaelMure/git-bug/tree/master/doc/man and the shell completion are at https://github.com/MichaelMure/git-bug/tree/master/misc.

thanks :)