# Maintainer (AUR): Fabien Dubosson <fabien.dubosson@gmail.com>

# parabola changes and rationale:
#  no changes.

pkgname="gws"
pkgver="0.1.16"
pkgrel="1"
pkgdesc="Colorful KISS helper for git workspaces"
url="https://github.com/StreakyCobra/gws"
license=('MIT')
arch=('any')
depends=('bash>4.0' 'git')
changelog="ChangeLog"
source=(
  "https://github.com/StreakyCobra/${pkgname}/archive/${pkgver}.tar.gz"
  "${pkgver}.tar.gz.sig"
)
validpgpkeys=('EB8627616EC1971DF076F2FF2BF5FD22FCABDE73')
sha256sums=('695df2ca872fc0ab4b8175c74fdab4d843534574e05885c6a1a6328951ccca74'
            'SKIP')

package() {
    cd "${srcdir}/${pkgname}-${pkgver}/"

    install -D -m755 'src/gws' "${pkgdir}/usr/bin/${pkgname}"
    install -D -m755 'completions/zsh' "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
    install -D -m755 'completions/bash' "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
}

# vim:set ts=4 sw=4 et:
