blob: 117bf8dfca5590d169110fac67cddf3f0bf2ad98 (
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
|
pkgname=wsjtz
pkgver=2.7.0
pkgrel=1.35
pkgdesc="Fork of WSJT-X with automation features"
arch=('i686' 'x86_64' 'aarch64')
url="https://sourceforge.net/projects/wsjt-z/"
license=('GPL-3')
makedepends=(cmake asciidoc asciidoctor boost dos2unix git)
options=('!lto')
depends=(hamlib qt5-base qt5-multimedia qt5-serialport qt5-tools libusb libusb-compat gcc-fortran libpulse libpng fftw)
provides=(wsjtx)
conflicts=(wsjtx)
source=(https://netcologne.dl.sourceforge.net/project/wsjt-z/Source/wsjtz-$pkgver-rc2-$pkgrel.zip
decode.patch)
sha512sums=('SKIP'
'SKIP')
prepare(){
# decode patch
cd $srcdir/wsjtx
dos2unix $srcdir/wsjtx/qmap/libqmap/decode0.f90
patch --forward --strip 1 < $srcdir/decode.patch
unix2dos $srcdir/wsjtx/qmap/libqmap/decode0.f90
}
build() {
mkdir -p $srcdir/build
cd $srcdir/build
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release $srcdir/wsjtx
make || return 1
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
|