diff options
author | jojii | 2020-10-19 01:39:38 +0200 |
---|---|---|
committer | jojii | 2020-10-19 01:39:38 +0200 |
commit | 0e1ca05869289a00a2143e9102752eb122e12181 (patch) | |
tree | aeab29fa1f3e81e1a8269273d662dbcb5ade3d46 | |
parent | 25f5d2eace566705fde1597b81b9357608e0a710 (diff) | |
download | aur-0e1ca05869289a00a2143e9102752eb122e12181.tar.gz |
add conflicts/provides
update version
add completion scripts
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 12 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = earbuds-git pkgdesc = Control your galaxy buds live via cli - pkgver = v0.1.4.r0.gd633a64 + pkgver = v0.1.4.r9.g45e6392 pkgrel = 1 url = https://github.com/JojiiOfficial/LiveBudsCli arch = x86_64 @@ -11,6 +11,8 @@ pkgbase = earbuds-git makedepends = bluez-libs makedepends = gcc-libs makedepends = glibc + provides = earbuds + conflicts = earbuds source = git+https://github.com/JojiiOfficial/LiveBudsCli md5sums = SKIP @@ -2,7 +2,7 @@ pkgname=earbuds-git _pkgname=earbuds _gitname=LiveBudsCli -pkgver=v0.1.4.r0.gd633a64 +pkgver=v0.1.4.r9.g45e6392 pkgrel=1 pkgdesc="Control your galaxy buds live via cli" url="https://github.com/JojiiOfficial/LiveBudsCli" @@ -10,6 +10,8 @@ license=("GPL3") source=("git+$url") md5sums=('SKIP') arch=("x86_64") +conflicts=("earbuds") +provides=("earbuds") makedepends=("cargo" "git" "bluez" "bluez-libs" "gcc-libs" "glibc") pkgver() { @@ -28,5 +30,10 @@ 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" +} |