2020-09-20 01:30:28 +00:00
|
|
|
# Maintainer: Knut Ahlers <knut at ahlers dot me>
|
|
|
|
|
|
|
|
pkgname=streamdeck
|
2022-02-05 17:44:19 +00:00
|
|
|
pkgver=1.6.0
|
2020-09-20 01:30:28 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Utility to control Elgato StreamDeck on Linux"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://github.com/Luzifer/$pkgname"
|
|
|
|
license=('Apache')
|
|
|
|
depends=(hidapi)
|
|
|
|
makedepends=('go')
|
|
|
|
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
|
2022-02-05 17:44:19 +00:00
|
|
|
sha512sums=('af11eb2a91a00ba450035096feb367757bcae786105c0185bd6ea6e65c514501d97fb801ab9f4d35dfc690832e8d8b7830ea9e31666e3aed5cf801965ff9ab67')
|
2020-09-20 01:30:28 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/cmd/streamdeck"
|
|
|
|
go build -a -v \
|
|
|
|
-ldflags="-X main.version=${pkgver}" \
|
|
|
|
-mod=readonly
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/${pkgname}-${pkgver}/cmd/streamdeck/streamdeck"
|
|
|
|
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${srcdir}/${pkgname}-${pkgver}/LICENSE"
|
|
|
|
}
|