blob: 09a4f9a3ff49172de8656cc77ec2983adae8fc8c (
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
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Contributor: Bob Finch <w9ya@qrparci.net>
pkgname=tlf-git
_pkgname=tlf
pkgver=1.3.0.r1.g3535aa1
#.r1.g3535aa1
pkgrel=1
pkgdesc="a console mode networked logging and contest program for hamradio"
arch=('i686' 'x86_64')
url="https://tlf.github.com/"
license=('GPL')
depends=('hamlib' 'xmlrpc-c' 'hamradio-menus')
makedepends=('autoconf' 'automake' 'pkg-config')
optdepends=('cwdaemon: transmitting cw'
'cty: country files'
'joe: editing qsos'
'xplanet: mapped qso display'
'fldigi: digital modes/modem & gui/display')
provides=('tlf')
conflicts=('tlf')
source=("$_pkgname::git+https://github.com/Tlf/tlf.git#branch=master"
# http://sharon.esrac.ele.tue.nl/pub/linux/ham/tlf/nrau
$_pkgname.desktop
$_pkgname.png
$_pkgname.1)
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/^tlf-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $srcdir/$_pkgname
autoreconf --install
./configure --prefix=/usr --enable-hamlib --enable-fldigi-xmlrpc
make || return 1
}
package() {
cd $srcdir/$_pkgname
make prefix=$pkgdir/usr datadir=$pkgdir/usr/share install
# cp ../nrau $pkgdir/usr/share/$pkgname
mkdir -p $pkgdir/usr/bin
mv $pkgdir/usr/bin/$_pkgname $pkgdir/usr/bin/$_pkgname.1
install -D -m 755 ../$_pkgname.1 $pkgdir/usr/bin/$_pkgname
mkdir -p $pkgdir/usr/share/{applications,pixmaps}
install -D -m 644 ../$_pkgname.png $pkgdir/usr/share/pixmaps
install -D -m 644 ../$_pkgname.desktop $pkgdir/usr/share/applications
}
md5sums=('SKIP'
'b83cca73cea288ed139993efceb245b5'
'f148583e02660cb430f638fd8f71f452'
'b706428f41d32bd5f4f6f671057638c0')
sha256sums=('SKIP'
'cc7b5bcf825ea342d126a54a778c4f837ea0da4a12101383f99282041eb5d574'
'0ddcde4f0dfa98540d4314660108ed49bfa0bc3d8b87cb46906dfd6f12be2497'
'766253a6f4b1d7e0526366875a46e220d637665c3c44e551f8d3db4ed88aaf81')
|