makedeb


chezmoi 2.30.0-1


Manage your dotfiles across multiple diverse machines, securely.

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for chezmoi.

# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
pkgname=chezmoi
pkgver=2.30.0
pkgrel=1
pkgdesc='Manage your dotfiles across multiple diverse machines, securely.'
arch=('any')
makedepends=('git' 'golang-go>=2:1.17')
license=('MIT')
url='https://chezmoi.io'

source=("${pkgname}-${pkgver}::git+https://github.com/twpayne/chezmoi/#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cd "${pkgname}-${pkgver}/"
    make build-in-git-working-copy
}

package() {
    cd "${pkgname}-${pkgver}/"
    install -Dm 755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
    "./${pkgname}" completion bash | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
}

# vim: set sw=4 expandtab: