# Maintainer: Antoine Martin # Based on PKGBUILD by the following: # Maintainer: Stefan Tatschner # Contributor: Franek Madej # Completion changes and optdepends by Artemis pkgname=yadm pkgver=1.12.0 pkgrel=2 pkgdesc="Yet Another Dotfiles Manager" arch='noarch' url="https://github.com/TheLocehiliosan/yadm" license='GPL3' depends='gnupg py-envtpl bash' source="$pkgname-$pkgver.tar.gz::https://github.com/TheLocehiliosan/${pkgname}/archive/${pkgver}.tar.gz" builddir="$srcdir/$pkgname-${pkgver}" subpackages="$pkgname-doc" package(){ cd "${builddir}" install -D -m 755 yadm $pkgdir/usr/bin/yadm install -D -m 644 yadm.1 $pkgdir/usr/share/man/man1/yadm.1 install -D -m 644 completion/yadm.bash_completion "${pkgdir}/usr/share/bash-completion/completions/yadm" install -D -m 644 completion/yadm.zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_yadm" } sha512sums="402a67770154ce3ae7ab947ff4d4e26ca5040d343110fb749195ca5c3f4ee435aba1d8cdf02d4ecf4a81d3f331c1b891bed4fb3fcfcc893867e0fce45b9c8cd8 yadm-1.12.0.tar.gz"