user/yadm: new aport
This commit is contained in:
parent
74b109f338
commit
ebc2178ecf
1 changed files with 44 additions and 0 deletions
44
user/yadm/APKBUILD
Normal file
44
user/yadm/APKBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
|
||||
pkgname=yadm
|
||||
pkgver=3.2.1
|
||||
pkgrel=0
|
||||
pkgdesc="Yet Another Dotfiles Manager"
|
||||
arch="noarch"
|
||||
url="https://github.com/TheLocehiliosan/yadm"
|
||||
license="GPL-3.0-only"
|
||||
depends="
|
||||
bash
|
||||
git
|
||||
gawk
|
||||
"
|
||||
options="!check" # No testsuite
|
||||
subpackages="
|
||||
$pkgname-bash-completion
|
||||
$pkgname-doc
|
||||
$pkgname-fish-completion
|
||||
$pkgname-zsh-completion
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/TheLocehiliosan/yadm/archive/$pkgver.tar.gz"
|
||||
|
||||
package() {
|
||||
install -vDm755 yadm -t "$pkgdir/usr/bin"
|
||||
install -vDm644 yadm.1 -t "$pkgdir/usr/share/man/man1"
|
||||
install -vDm644 completion/bash/yadm -t "$pkgdir/usr/share/bash-completion/completions"
|
||||
install -vDm644 completion/zsh/_yadm -t "$pkgdir/usr/share/zsh/site-functions"
|
||||
install -vDm644 completion/fish/yadm.fish -t "$pkgdir/usr/share/fish/vendor_completions.d"
|
||||
}
|
||||
|
||||
fishcomp() {
|
||||
depends=""
|
||||
pkgdesc="Fish completions for $pkgname"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel fish"
|
||||
|
||||
cd "$pkgdir" || return 0
|
||||
amove usr/share/fish/vendor_completions.d
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8ce9bc66a33fc3841e47293e002b834fac5760dc771ede37adfc47a9e911ddade23c0ef5379cf8f00cf9b24853abbc1263198b8439ca4e8a3acd5787fbd935cb yadm-3.2.1.tar.gz
|
||||
"
|
Loading…
Reference in a new issue