blob: 7e5d8a2aa9db91d9177eea76fc763069e1359929 (
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=fdcurses
pkgver=24.5.21.1
pkgrel=1
pkgdesc="Ham Radio - ARRL Field Day logger CURSES"
license=('GPL-3.0-only')
arch=('any')
url="https://pypi.org/project/$pkgname/"
depends=('python' 'python-xmltodict' 'python-requests' 'python-pyperclip' 'sqlite' 'hamradio-menus')
makedepends=('python-build' 'python-installer' 'python-wheel')
provides=('fdlogger')
conflicts=('fdlogger' 'fdlogger-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.svg $pkgdir/usr/share/pixmaps/k6gte-$pkgname.svg
}
md5sums=('2ab6a276072819683b3c0658b1bcee69'
'df5c242a0f63381781a4335080556af1')
sha256sums=('3829484d56ba823fe4b1383c7491201fb919c708b8b393feb005c6e5687d8cbe'
'413e0fdf4bf367ff563ffb91e3aa357a87d5c8a9784edcdeeea53fccf6ee0094')
|