blob: 3dfac3f868ce65697dab76728cb59ee1d2b47526 (
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
|
# Maintainer: FuzzyCheese
pkgname=wfview
pkgver=1.64
pkgrel=1
pkgdesc="Interface for Icom transceivers"
arch=('i686' 'x86_64')
url="https://wfview.org/"
license=('GPL3')
depends=('qt5-serialport' 'qt5-multimedia' 'qcustomplot' 'eigen' 'qt5-gamepad' 'rtaudio')
provides=('wfview')
source=("https://gitlab.com/eliggett/wfview/-/archive/v$pkgver/wfview-v$pkgver.tar.gz")
md5sums=(c061bd43bbe645874e053154666deb21)
prepare(){
sed -i '/^linux:QMAKE_POST_LINK += echo; echo; echo "Run install.sh as root from the build directory to install."; echo; echo;$/s/^/#/' ${srcdir}/wfview-v$pkgver/wfview.pro
}
build() {
cd "${srcdir}"
mv wfview-v$pkgver wfview
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/stylesheets/qdarkstyle"
cp -rv "${srcdir}/wfview/qdarkstyle" -t "$pkgdir/usr/share/wfview/stylesheets"
}
|