# 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=0 pkgdesc="Yet Another Dotfiles Manager" arch='noarch' url="https://github.com/TheLocehiliosan/yadm" license='GPL3' depends='gnupg py-envtpl' provides='yadm' source="$pkgname-$pkgver.tar.gz::https://github.com/TheLocehiliosan/${pkgname}/archive/${pkgver}.tar.gz" sha256sums='c3d612d01e2027d5f457e0f7d120bc67251b716c373d99fe70638bd86edf107f yadm-1.12.0.tar.gz' package() { cd $srcdir/$pkgname-$pkgver 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" }