blob: 52d16c230c99ce9ccffac1c3c83ff2d6e4d6882f (
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
|
pkgname=wsjtx
pkgver=2.6.1
pkgrel=3
pkgdesc="Software for Amateur Radio Weak-Signal Communication (JT9 and JT65)"
arch=('i686' 'x86_64' 'aarch64')
url="http://physics.princeton.edu/pulsar/k1jt/wsjtx.html"
license=('GPL-3')
makedepends=(cmake asciidoc asciidoctor boost git)
options=('!lto')
depends=(qt5-base qt5-multimedia qt5-serialport qt5-tools libusb libusb-compat gcc-fortran libpulse libpng fftw make patch)
# source=(http://physics.princeton.edu/pulsar/K1JT/$pkgname-$pkgver.tgz)
source=(http://downloads.sourceforge.net/sourceforge/wsjt/$pkgname-$pkgver.tgz)
sha512sums=('0f151c10b75798ab28a01604b08981f399d612135b7e9ddc3e66f9121fd49c97bb9508ce649e342791705ee5e1247f8e461a31afa871ddd46da1cf7fd5826c74')
build() {
mkdir -p $srcdir/build
cd $srcdir/build
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release $srcdir/$pkgname-$pkgver
make || return 1
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
|