blob: 1a2c868e7f0e487f76a9582c545c6fe5bebfffb7 (
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
|
# Maintainer: FuzzyCheese
# Co-maintainer: f4iey
pkgname=wfview-git
pkgver=r2513.85178de
pkgrel=2
pkgdesc="Interface for Icom transceivers"
arch=('i686' 'x86_64')
url="https://wfview.org/"
license=('GPL3')
depends=('qt5-serialport' 'qt5-multimedia' 'qcustomplot' 'qt5-gamepad')
makedepends=('git' 'eigen' 'rtaudio')
provides=('wfview')
conflicts=('wfview')
source=('git+https://gitlab.com/eliggett/wfview.git')
md5sums=(SKIP)
pkgver() {
cd "wfview"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}"
mkdir -p build
cd build
qmake ../wfview/wfview.pro PREFIX=/usr
make
}
package() {
install -D "${srcdir}/build/wfview" "$pkgdir/usr/bin/wfview"
install -D "${srcdir}/wfview/resources/wfview.desktop" "$pkgdir/usr/share/applications/wfview.desktop"
install -D "${srcdir}/wfview/resources/wfview.png" "$pkgdir/usr/share/pixmaps/wfview.png"
mkdir -p "$pkgdir/usr/share/wfview/qdarkstyle"
cp -rv "${srcdir}/wfview/qdarkstyle" -t "$pkgdir/usr/share/wfview"
}
|