summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fb49e9057f3760d655bf33f0dcf6f4bdfb857493 (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: Thomas Gatzweiler <thomas.gatzweiler@gmail.com>

pkgname=wsjtx-bin
pkgver=1.5.0
pkgrel=1
pkgdesc="Software for Amateur Radio Weak-Signal Communication (JT9 and JT65)"
arch=(i686 x86_64)
url="http://physics.princeton.edu/pulsar/k1jt/wsjtx.html"
license=("GPL-3")
depends=(qt5-base qt5-multimedia qt5-serialport libusb libusb-compat kvasd-bin)
makedepends=()

if [ "$CARCH" == "x86_64" ]; then
  debfile="wsjtx_1.5.0_amd64.deb"
  md5sums=(19c56e6a2dd273eaf3d6125933cb6381)
else
  debfile="wsjtx_1.5.0_i386.deb"
  md5sums=(c3e3fe2351cebf1f81133de140d8ff6c)
fi
  
source=("http://physics.princeton.edu/pulsar/k1jt/${debfile}")

prepare() {
	cd "$srcdir"
	ar vx $debfile
}

package() {
	cd "$srcdir"
	tar -C ${pkgdir}/ -xvf data.tar.gz
	cd "$pkgdir"
	chmod 755 usr/ usr/share/ usr/bin/ usr/share/doc/ 
	chmod 755 usr/share/applications/ usr/share/pixmaps/
}