blob: 5d15edf1000449846b1fdb12944a86671b235a2f (
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
|
# 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.7.3
pkgrel=2
pkgdesc="QSO log signing data for the ARRL Logbook of The World (LoTW)"
arch=('i686' 'x86_64' 'aarch64')
url="http://lotw.arrl.org/"
license=('LicenseRef-:ARRL')
depends=('lmdb' 'wxgtk3' 'hamradio-menus')
makedepends=('cmake' 'libxxf86vm')
provides=('tqsllib' 'trustedqsl')
conflicts=('trustedqsl-git')
replaces=('tqsl')
source=(http://www.arrl.org/$__pkgname/$__pkgname-$pkgver.tar.gz
$pkgname.desktop)
build() {
cd "$srcdir/${__pkgname}-$pkgver"
mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config' \
-DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc' \
../
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 $pkgdir/usr/share/applications/org.arrl.trustedqsl.desktop
}
md5sums=('0ab8641c140dc3588c100ae5a534c8f1'
'6dd4296f5fda2d77922c9cbe4a120d3b')
sha256sums=('09af4fb32b633efad4e2ef9bff1ea921b41cf020cd588ea134cea317ad0176cf'
'68129b7f7ddbb75be52f1b9164d43c6d9805c5877423546b50397c2d920c79e9')
|