# Maintainer: chuvke pkgname=digilent-agent pkgver=1.0.1 pkgrel=1 epoch= pkgdesc="enables browser based applications to communicate with Digilent hardware (e.g. the OpenScopeMZ)" arch=('x86_64') url="https://github.com/Digilent/digilent-agent" license=('LGPL3') depends=(qt5-base qt5-serialport) makedepends=(git) install="${pkgname}.install" source=("$pkgname::git+$url.git#tag=v$pkgver") sha256sums=('SKIP') prepare() { cd "$srcdir/$pkgname" git submodule init git submodule update } build() { cd "$srcdir/$pkgname" qmake make } package() { cd "$pkgname" install -Dm 775 "digilent-agent" "${pkgdir}/usr/bin/digilent-agent" }