blob: adc9df91cb02fe5933ccf1e271a8c91beabf7f14 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: John Morris <2e0byo@gmail.com>
pkgname=serial-studio-git
pkgver=1.0.23.r131.4a01aca
pkgrel=1
pkgdesc="Multi-purpose serial data visualization & processing program"
arch=('x86_64')
url="https://github.com/Serial-Studio/Serial-Studio"
license=('MIT')
groups=()
depends=(
"qt6-serialport"
"qt6-quickcontrols2"
"qt6-5compat"
"qt6-base"
"qt6-svg"
)
makedepends=("git")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=('serial-studio::git+https://github.com/Serial-Studio/Serial-Studio')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
# Git, tags available
printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/v//g')"
}
prepare() {
cd "$srcdir/${pkgname%-git}"
git submodule init
git submodule update
}
build() {
cd "$srcdir/${pkgname%-git}"
/usr/lib/qt6/bin/qmake
make -j$(nproc)
}
package() {
cd "$srcdir/${pkgname%-git}"
make INSTALL_ROOT="$pkgdir/" install
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE*
}
|