summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gatzweiler2016-08-22 22:31:26 +0200
committerThomas Gatzweiler2016-08-22 22:31:26 +0200
commit58fa6b6c7e83c9ee76ee3890f16ca3ea8b5e2395 (patch)
tree9795fc65e54a9cfdeb1c460914ebe733b04f1604
parent4f52c10043ae01b3a811132f7118c76ea65463f1 (diff)
downloadaur-wsjtx-svn.tar.gz
Workaround for hamlib-git versions
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 005acf5d4f2..4f5e9e8ef6a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Mon Aug 22 20:30:31 UTC 2016
pkgbase = wsjtx-svn
pkgdesc = Software for Amateur Radio Weak-Signal Communication (JT9 and JT65)
- pkgver = r5613
+ pkgver = r7034
pkgrel = 1
url = http://physics.princeton.edu/pulsar/k1jt/wsjtx.html
arch = i686
@@ -17,7 +19,6 @@ pkgbase = wsjtx-svn
depends = fftw
depends = gcc-fortran
depends = hamlib
- depends = kvasd-bin
provides = wsjtx
conflicts = wsjtx
source = svn://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx/
diff --git a/PKGBUILD b/PKGBUILD
index ac855dc45f1..1a0309f52f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Thomas Gatzweiler <thomas.gatzweiler@gmail.com>
pkgname=wsjtx-svn
-pkgver=r5613
+pkgver=r7034
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 fftw gcc-fortran hamlib kvasd-bin)
+depends=(qt5-base qt5-multimedia qt5-serialport libusb libusb-compat fftw gcc-fortran hamlib)
makedepends=('cmake' 'subversion' 'asciidoc')
provides=("wsjtx")
conflicts=("wsjtx")
@@ -19,6 +19,11 @@ pkgver() {
printf "r%s" "$(svnversion | tr -d 'A-z')"
}
+prepare() {
+ cd "$srcdir/${pkgname%-svn}"
+ sed -ri 's/^find_package \(hamlib 3 REQUIRED\)/set \(hamlib_LIBRARIES hamlib\)/' CMakeLists.txt
+}
+
build() {
mkdir -p "$srcdir/${pkgname%-svn}/build"
cd "$srcdir/${pkgname%-svn}/build"