Created chirp-next

This commit is contained in:
K5TRP 2023-01-22 16:04:10 -06:00
commit a2074b18ab
4 changed files with 66 additions and 0 deletions

24
.SRCINFO Normal file
View file

@ -0,0 +1,24 @@
pkgbase = chirp-next
pkgdesc = GUI tool for programming ham radios, built from daily build
pkgver = 20230122
pkgrel = 1
url = https://chirp.danplanet.com
install = chirp-next.install
arch = any
license = GPL3
depends = python-six
depends = python-pyserial
depends = python-future
depends = python-requests
depends = python-suds
depends = python-yattag
depends = python-wxpython
optdepends = hamradio-menus: XDG menus for ham radio software
provides = chirp
conflicts = chirp
conflicts = chirp-daily
options = !emptydirs
source = https://trac.chirp.danplanet.com/chirp_next/next-20230122/chirp-next-20230122.tar.gz
sha1sums = a28a631cbd860889296479f07e9129c9cc0c5055
pkgname = chirp-next

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
src/
pkg/
chirp-next-*

32
PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# Thanks to the maintainer(s) of chirp-daily
# Maintainer: K5TRP <K5TRP@protonmail.com>
# Contributor: 0b100100 <0b100100 at protonmail dot ch>
# Contributor: Ashley Roll (ash@digitalnemesis.com)
# Contributor: Erez Raviv (erezraviv@gmail.com)
pkgname=chirp-next
pkgver=20230122
pkgrel=1
pkgdesc="GUI tool for programming ham radios, built from daily build"
arch=('any')
url="https://chirp.danplanet.com"
license=('GPL3')
depends=('python-six' 'python-pyserial' 'python-future' 'python-requests' 'python-suds' 'python-yattag' 'python-wxpython')
optdepends=('hamradio-menus: XDG menus for ham radio software')
options=(!emptydirs)
conflicts=('chirp' 'chirp-daily')
provides=(chirp)
install=$pkgname.install
source=("https://trac.chirp.danplanet.com/chirp_next/next-$pkgver/chirp-next-$pkgver.tar.gz")
# Checksum: https://trac.chirp.danplanet.com/chirp_daily/daily-$pkgver/SHA1SUM
sha1sums=('a28a631cbd860889296479f07e9129c9cc0c5055')
build() {
cd "$pkgname-$pkgver"
python setup.py build
}
package() {
cd "$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}

7
chirp-next.install Normal file
View file

@ -0,0 +1,7 @@
post_install() {
# serial port permissions
# (https://chirp.danplanet.com/projects/chirp/wiki/Running_Under_Linux#serial-port-permissions)
echo "==> You may need to add your user to the 'uucp' group to access serial ports and devices."
echo -e "==> This can be accomplished with: '\e[32msudo usermod -aG uucp \$USER\e[0m'"
echo "==> Then you will need to log out and back in for it to take effect."
}