Add conflict for streamdeck-ui

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-10-31 02:04:18 +01:00
parent 1a50e70295
commit 3ccd49bf68
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5
2 changed files with 10 additions and 8 deletions

View file

@ -1,13 +1,14 @@
pkgbase = streamdeck pkgbase = streamdeck
pkgdesc = Utility to control Elgato StreamDeck on Linux pkgdesc = Utility to control Elgato StreamDeck on Linux
pkgver = 1.7.0 pkgver = 1.7.0
pkgrel = 1 pkgrel = 2
url = https://github.com/Luzifer/streamdeck url = https://github.com/Luzifer/streamdeck
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = Apache license = Apache
makedepends = go makedepends = go
depends = hidapi depends = hidapi
conflicts = streamdeck-ui
source = streamdeck-1.7.0.tar.gz::https://github.com/Luzifer/streamdeck/archive/v1.7.0.tar.gz source = streamdeck-1.7.0.tar.gz::https://github.com/Luzifer/streamdeck/archive/v1.7.0.tar.gz
sha512sums = 46d5c68212231ef10f00eea034353c3e42e211ac63c8461d3654c6f46e47f626f69e9564ba91165c8ef47ef0c53c3fbfbb7c9d8ca7c9550e830210e74075a5e5 sha512sums = 46d5c68212231ef10f00eea034353c3e42e211ac63c8461d3654c6f46e47f626f69e9564ba91165c8ef47ef0c53c3fbfbb7c9d8ca7c9550e830210e74075a5e5

View file

@ -2,9 +2,10 @@
pkgname=streamdeck pkgname=streamdeck
pkgver=1.7.0 pkgver=1.7.0
pkgrel=1 pkgrel=2
pkgdesc="Utility to control Elgato StreamDeck on Linux" pkgdesc="Utility to control Elgato StreamDeck on Linux"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
conflicts=('streamdeck-ui')
url="https://github.com/Luzifer/$pkgname" url="https://github.com/Luzifer/$pkgname"
license=('Apache') license=('Apache')
depends=(hidapi) depends=(hidapi)
@ -13,13 +14,13 @@ source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha512sums=('46d5c68212231ef10f00eea034353c3e42e211ac63c8461d3654c6f46e47f626f69e9564ba91165c8ef47ef0c53c3fbfbb7c9d8ca7c9550e830210e74075a5e5') sha512sums=('46d5c68212231ef10f00eea034353c3e42e211ac63c8461d3654c6f46e47f626f69e9564ba91165c8ef47ef0c53c3fbfbb7c9d8ca7c9550e830210e74075a5e5')
build() { build() {
cd "${srcdir}/${pkgname}-${pkgver}/cmd/streamdeck" cd "${srcdir}/${pkgname}-${pkgver}/cmd/streamdeck"
go build -a -v \ go build -a -v \
-ldflags="-X main.version=${pkgver}" \ -ldflags="-X main.version=${pkgver}" \
-mod=readonly -mod=readonly
} }
package() { package() {
install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/${pkgname}-${pkgver}/cmd/streamdeck/streamdeck" install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/${pkgname}-${pkgver}/cmd/streamdeck/streamdeck"
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/LICENSE" install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/LICENSE"
} }