diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = earbuds pkgdesc = Control your galaxy buds live via cli pkgver = 0.1.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/JojiiOfficial/LiveBudsCli arch = x86_64 license = GPL3 @@ -2,7 +2,7 @@ pkgname=earbuds _gitname=LiveBudsCli pkgver=0.1.4 -pkgrel=1 +pkgrel=2 pkgdesc="Control your galaxy buds live via cli" url="https://github.com/JojiiOfficial/LiveBudsCli" license=("GPL3") @@ -22,5 +22,11 @@ package() { mkdir -p $usrdir install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" install -Dm 755 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + ./target/release/${pkgname} --generate=zsh > _${pkgname} + install -Dm 644 _earbuds "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" + + ./target/release/${pkgname} --generate=bash > ${pkgname}.fish + install -Dm 644 ${pkgname}.fish "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish" } |