blob: 7ff90fc755d2ef3f2e21597ce70d5159726e132f (
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
|
# Maintainer: Tadeusz Magura-Witkowski <tadeuszmw gmail>
pkgname=droidstar-git
pkgver=r80.31614da
pkgrel=1
pkgdesc="This software connects to M17, Fusion (YSF/FCS, DN and VW modes are supported), DMR, P25, NXDN, D-STAR (REF/XRF/DCS) reflectors and AllStar nodes (as an IAX2 client) over UDP."
arch=('i686' 'x86_64')
url="https://github.com/nostar/DroidStar"
license=('GPL2 GPL3')
depends=('qt6-declarative' 'qt6-multimedia' 'qt6-serialport' 'qt6-base' 'make')
makedepends=('gcc' 'git' 'cmake')
conflicts=('droidstar')
provides=('droidstar')
source=("$pkgname"::'git+https://github.com/nostar/DroidStar'
'droidstar.desktop'
'droidstar.png')
sha1sums=('SKIP'
'150a499f54a723a923171990f8a56a9a253cf053'
'62ab00e1d2c24e1baefdda6eacd504ceb8df5dca')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
cmake -B build
cmake --build build
}
package() {
install -Dm644 "droidstar.desktop" "$pkgdir/usr/share/applications/droidstar.desktop"
install -Dm644 "droidstar.png" "$pkgdir/usr/share/pixmaps/droidstar.png"
cd "$srcdir/$pkgname"
install -Dm755 build/DroidStar ${pkgdir}/usr/bin/droidstar
}
|