blob: 79d02ae77998fb6e5d2066707bfdf95cf5ba9b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: chuvke <chuvke AT gmail DOT com>
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"
}
|