ayaports/apk/main/yadm/APKBUILD

30 lines
1.1 KiB
Text
Raw Normal View History

# Maintainer: Antoine Martin <antoine@ayakael.net>
# Based on PKGBUILD by the following:
# Maintainer: Stefan Tatschner <stefan@rumpelsepp.org>
# Contributor: Franek Madej <franek.madej@gmail.com>
# Completion changes and optdepends by Artemis
pkgname=yadm
pkgver=1.12.0
2019-06-27 20:27:55 +00:00
pkgrel=2
pkgdesc="Yet Another Dotfiles Manager"
arch='noarch'
url="https://github.com/TheLocehiliosan/yadm"
license='GPL3'
2019-06-27 20:27:55 +00:00
depends='gnupg py-envtpl bash'
source="$pkgname-$pkgver.tar.gz::https://github.com/TheLocehiliosan/${pkgname}/archive/${pkgver}.tar.gz"
2019-06-27 20:25:07 +00:00
builddir="$srcdir/$pkgname-${pkgver}"
subpackages="$pkgname-doc"
2019-06-27 20:25:07 +00:00
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"
}
2019-06-27 20:25:07 +00:00
sha512sums="402a67770154ce3ae7ab947ff4d4e26ca5040d343110fb749195ca5c3f4ee435aba1d8cdf02d4ecf4a81d3f331c1b891bed4fb3fcfcc893867e0fce45b9c8cd8 yadm-1.12.0.tar.gz"