Package Details: git-flow-completion-git 1.1.0.2.gcba3ad7-1

Git Clone URL: https://aur.archlinux.org/git-flow-completion-git.git (read-only, click to copy)
Package Base: git-flow-completion-git
Description: git-flow shell completions
Upstream URL: http://github.com/bobthecow/git-flow-completion
Licenses: MIT
Submitter: akamch
Maintainer: efemero
Last Packager: efemero
Votes: 13
Popularity: 0.000000
First Submitted: 2012-09-27 22:07 (UTC)
Last Updated: 2020-04-06 07:26 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

FichteFoll commented on 2020-08-17 16:29 (UTC)

Requires git as makedep.

zaidan commented on 2020-04-07 19:05 (UTC)

@efemero thanks, builds fine now

efemero commented on 2020-04-06 07:24 (UTC)

@zaidan I picked up your improvements. Sorry I can't test, I do not use git-flow anymore.

zaidan commented on 2020-04-05 18:33 (UTC)

@efemero The package does not build:

==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 1.1.0-2-gcba3ad7.cba3ad7

Here is a fixed PKGBUILD:

pkgname=git-flow-completion-git
pkgver=1.1.0.2.gcba3ad7
pkgrel=1
pkgdesc='git-flow shell completions'
arch=('any')
url='http://github.com/bobthecow/git-flow-completion'
license=('MIT')
depends=('gitflow-avh')

_gitname='git-flow-completion'
source=(git://github.com/bobthecow/${_gitname}.git)
md5sums=('SKIP')

pkgver() {
  cd $_gitname
  echo $(git describe --tags | sed s/-/./g)
}

package() {
  cd "$_gitname"
  install -D -m644 git-flow-completion.bash $pkgdir/etc/bash_completion.d/git-flow-completion.bash
  install -D -m644 git-flow-completion.zsh $pkgdir/usr/share/git-flow/git-flow-completion.zsh
  install -D -m644 git.fish $pkgdir/usr/share/fish/completions/git-flow.fish
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

poxar commented on 2013-04-23 17:26 (UTC)

Hey, makepkg 4.1 supports git source natively. Here is an updated PKGBUILD: https://gist.github.com/poxar/5445626

hcartiaux commented on 2013-03-27 16:32 (UTC)

Fix your dep please ! git-flow-git has been renamed to gitflow-git ;) Thanks

gtmanfred commented on 2013-03-21 20:54 (UTC)

please fix this so that anything that touches $pkgdir is in the package() function