blob: ab4e80db708b5233fe850216a912d25f92d977b4 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Previous Maintainer: Wijnand Modderman-Lenstra <maze@maze.io>
# Original Submission: Bob Finch <w9ya@qrparci.net>
pkgname=trustedqsl
__pkgname=tqsl
pkgver=2.2.2
pkgrel=2
pkgdesc="QSO log signing data for the ARRL Logbook of The World (LoTW)"
arch=('i686' 'x86_64')
url="http://lotw.arrl.org/"
license=('custom:ARRL')
depends=('wxgtk2.8' 'curl' 'hamradio-menus')
makedepends=('cmake')
provides=('tqsllib')
conflicts=('trustedqsl-git')
replaces=('tqsl')
install=$pkgname.install
source=(http://www.arrl.org/files/file/LoTW%20Instructions/${__pkgname}-${pkgver}.tar.gz
diff.CMakeLists.txt.apps
diff.CMakeLists.txt.src
$pkgname.desktop
$pkgname.install)
prepare() {
cd "$srcdir/${__pkgname}-$pkgver"
patch -p0 < ../diff.CMakeLists.txt.apps
patch -p0 < ../diff.CMakeLists.txt.src
}
build() {
cd "$srcdir/${__pkgname}-$pkgver"
mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8' \
-DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8' \
../
make
}
package() {
cd "$srcdir/${__pkgname}-$pkgver/build"
make DESTDIR="$pkgdir/" install
find "$pkgdir" -name wxstd* -exec rm {} +
install -D -m644 "../LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
mkdir -p $pkgdir/usr/share/applications
install -D -m 644 ../../$pkgname.desktop $pkgdir/usr/share/applications
rm -rf $pkgdir/usr/include
}
md5sums=('3bfd1eb11ea8aadc937d44483850ce93'
'bbdec5f6ae2d23bb2c74c84df07d2c70'
'8f401e02bfdefb486bbbeaba58522486'
'860b305f9cf6db8cc1c14dc88cef34fc'
'f7e1e2722c972f3420cfd69492c79073')
sha256sums=('3b5ebaba011070722a01819783a47c3661557975693f5355bb2abe1adc170f05'
'84eb4f182e90d6996d687952e82c47c2cc7c8fcd95a4290ef7b8c77b4d7b6e4e'
'0adb97d5a65701465309b8fed0fe8fbc04400d3342102887f05fddf52d985f87'
'cb638467e305f6f9426a22841dbbb4d656a30f48e4c1c27e87dd82890794c167'
'f703f8de14eb277dc72cc837086fbd55f5d772049a44200686c8ae76348f6614')
|