blob: b958058ca7cbcf3eb60fbe1d5e032e5c1647753f (
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
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
pkgname=cqrlog-source
_pkgname=cqrlog
_authorname=ok2cqr
pkgver=2.5.2
pkgrel=3
pkgdesc="An advanced ham radio logger using MariaDB - SOURCE version."
arch=('i686' 'x86_64')
url="http://www.cqrlog.com"
license=('GPL')
depends=('xdg-utils' 'gtk2' 'mariadb' 'hamlib' 'hamradio-menus')
makedepends=('lazarus')
optdepends=('winkeydaemon: usb cw xmit'
'cwdaemon: transmitting cw'
'fldigi: RTTY and Digital modes'
'masterscp: supercheckpartial files'
'cty: country files'
'bigcty: contest version country files'
'trustedqsl: upload logs'
'xplanet: gui location'
'glabels: print qsl labels')
provides=('cqrlog')
conflicts=('cqrlog' 'cqrlog-git' 'cqrlog-bin')
source=(https://github.com/${_authorname}/${_pkgname}/archive/v${pkgver}.tar.gz)
prepare() {
cd "$srcdir/${_pkgname}-$pkgver"
# sed -i 's/--ws=gtk2 src/--lazarusdir=\/usr\/lib\/lazarus --ws=gtk2 src/g' Makefile
sed -i 's/--ws=gtk2 --pcp=$(tmpdir)\/.lazarus src/--lazarusdir=\/usr\/lib\/lazarus --ws=gtk2 --pcp=$(tmpdir)\/.lazarus src/g' Makefile
sed -i "s:cqrlog.png:/usr/share/pixmaps/cqrlog/cqrlog.png:" tools/cqrlog.desktop
}
build() {
cd "$srcdir/${_pkgname}-$pkgver"
make
}
package() {
cd "$srcdir/${_pkgname}-$pkgver"
make DESTDIR="$pkgdir/" install
}
md5sums=('69741e8d691c622e1be281db1c9d2bba')
sha256sums=('82837455dc9f44f43dc7658d330c71cf09c38d794addacab1da936fdcdbefdca')
|