_yayver='8.1173.0' _yay="yay_${_yayver}_x86_64" pkgname=tari-util pkgver=0.3.0 pkgrel=1 pkgdesc="Misc utility packages." arch=('any') provides=('yay') conflicts=('yay') source=("https://github.com/Jguer/yay/releases/download/v${_yayver}/${_yay}.tar.gz") sha256sums=('e0f28c6be3c4322901438f324aed1f49ab593a8d4ed92279b1dda51381c51d6b') package() { _yayout="${srcdir}/${_yay}" install -Dm 755 "$_yayout"/yay "$pkgdir"/usr/bin/yay install -Dm 644 "$_yayout"/yay.8 "$pkgdir"/usr/share/man/man8/yay.8 install -Dm 644 "$_yayout"/bash "$pkgdir"/usr/share/bash-completion/completions/yay install -Dm 644 "$_yayout"/zsh "$pkgdir"/usr/share/zsh/site-functions/_yay install -Dm 644 "$_yayout"/fish "$pkgdir"/usr/share/fish/vendor_completions.d/yay.fish }