mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 21:03:59 +01:00
622a01a711
As much as rofi-pass may appear to be useful, it is simply easier to just use the pass command directly, especially if you have a passphrase set on the private encryption key you use to unlock passwords.
23 lines
789 B
Bash
Vendored
23 lines
789 B
Bash
Vendored
_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
|
|
}
|