blob: 1b0f456249d061e681b6d3a334712ec3813c1aa7 (
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
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Submitter: not_anonymous <nmlibertarian@gmail.com>
pkgname=wfdlogger
pkgver=24.2.19
pkgrel=1
pkgdesc="Ham Radio - WINTER Field Day logger GUI"
license=(GPL-3.0-only)
arch=(any)
url="https://pypi.org/project/$pkgname"
depends=(python python-dicttoxml python-xmltodict python-pyqt5 python-requests sqlite hamradio-menus)
makedepends=(python-build python-installer python-wheel)
provides=(wfdlogger)
conflicts=(fdlogger fdcurses fdlogger-git wfdlogger-git)
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/${pkgname/-/_}-$pkgver.tar.gz"
"$pkgname.1")
build() {
cd $srcdir/$pkgname-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $srcdir/$pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
mv $pkgdir/usr/bin/$pkgname $pkgdir/usr/bin/$pkgname.1
install -Dm755 ../$pkgname.1 $pkgdir/usr/bin/$pkgname
install -Dm755 $pkgname/data/k6gte-$pkgname.desktop $pkgdir/usr/share/applications/k6gte-$pkgname.desktop
install -Dm755 $pkgname/data/k6gte-$pkgname.png $pkgdir/usr/share/pixmaps/k6gte-$pkgname.png
}
md5sums=('f6c37e495fb1823c1728a1cc50622aaf'
'931867e6bb8f23afa30142f80fa2c5a1')
sha256sums=('15254139aa305213a85a89dcf4984d77b723c5837db71971b2188763290bfec1'
'6e1ca820758f1ad3a82e7b616180d66f17d4e49615f7c8f553a8ca8f5f5df4f7')
|