mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-17 20:30:37 +01:00
9f27d4e13a
Now that I know how to use terminal multiplexers, and now that I understand more about how shells and terminals work, the launch dependency is no longer necessary. Additionally, *too many* abbreviations is difficult to use in the long term, no matter how short the commands are. Since I don't need to launch programs from the terminal as often anymore (now that I use rofi and other programs), this change makes sense.
30 lines
1.1 KiB
Bash
Vendored
30 lines
1.1 KiB
Bash
Vendored
_yayver='8.1173.0'
|
|
_rofipassver='2.0.1'
|
|
_yay="yay_${_yayver}_x86_64"
|
|
_rofipass="rofi-pass-${_rofipassver}"
|
|
|
|
pkgname=tari-util
|
|
pkgver=0.2.0
|
|
pkgrel=1
|
|
pkgdesc="Misc utility packages."
|
|
arch=('any')
|
|
provides=('yay' 'rofi-pass')
|
|
conflicts=('yay' 'rofi-pass')
|
|
depends=('xdg-utils' 'rofi' 'pass' 'pwgen' 'xdotool')
|
|
source=("https://github.com/Jguer/yay/releases/download/v${_yayver}/${_yay}.tar.gz"
|
|
"${_rofipass}.tar.gz::https://codeload.github.com/carnager/rofi-pass/tar.gz/${_rofipassver}")
|
|
sha256sums=('e0f28c6be3c4322901438f324aed1f49ab593a8d4ed92279b1dda51381c51d6b'
|
|
'82256730aa4ab6f0b3082eaa8410a93c284ca9fc1e0151de92d9dd703d850439')
|
|
|
|
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
|
|
|
|
make -C "$_rofipass" DESTDIR="$pkgdir" PREFIX="/usr" install
|
|
}
|