# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=git-machete pkgver=3.17.9 pkgrel=0 pkgdesc="git repository organizer & rebase/merge workflow automation tool" url="https://github.com/VirtusLab/git-machete" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest py3-pytest-mock" subpackages=" $pkgname-pyc $pkgname-bash-completion $pkgname-zsh-completion $pkgname-fish-completion " source="https://github.com/VirtusLab/git-machete/archive/refs/tags/v$pkgver/git-machete-$pkgver.tar.gz " build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" install -Dm0644 "$builddir"/completion/git-machete.completion.bash \ "$pkgdir/usr/share/bash-completion/completions/git-machete" install -Dm0644 "$builddir"/completion/git-machete.completion.zsh \ "$pkgdir/usr/share/zsh/site-functions/_git-machete" install -Dm0644 "$builddir"/completion/git-machete.fish \ -t "$pkgdir/usr/share/fish/vendor_completions.d" } sha512sums=" 539d83c1d99ce89215635692f901c0b1297caa5b4918ac863f82263967d2073ab8a9832bb881c11edaaa60496b03a38d9031fa1a2f01911bca2aaddad3ec95f9 git-machete-3.17.9.tar.gz "