chirp-hg/PKGBUILD

31 lines
712 B
Bash
Raw Normal View History

2017-04-18 09:42:34 -05:00
# Maintainer: David Thurstenson <thurstylark@gmail.com>
2016-06-03 22:06:18 -05:00
pkgname=chirp-hg
2017-04-18 09:42:34 -05:00
pkgver=r2879.2c4bb936f964
epoch=1
2016-06-03 22:06:18 -05:00
pkgrel=1
2017-04-18 09:42:34 -05:00
pkgdesc="GUI tool for programming ham radios, built from hg repo"
2016-06-03 22:06:18 -05:00
arch=('any')
url="http://chirp.danplanet.com/"
2017-04-15 19:37:14 -06:00
license=('GPL3')
2017-04-18 09:42:34 -05:00
depends=('python2-lxml' 'python2-pyserial' 'pygtk' 'curl')
optdepends=('hamradio-menus: XDG menus for ham radio software')
2016-06-03 22:06:18 -05:00
makedepends=('mercurial')
2016-06-03 22:18:58 -05:00
provides=('chirp')
2017-04-18 09:42:34 -05:00
conflicts=('chirp')
source=('hg+http://d-rats.com/hg/chirp.hg')
md5sums=('SKIP')
2016-06-03 22:06:18 -05:00
pkgver() {
2017-04-18 09:42:34 -05:00
cd chirp.hg
hg tip --template 'r{rev}.{node|short}'
2016-06-03 22:06:18 -05:00
}
prepare() {
2017-04-18 09:42:34 -05:00
sed -i 's|/usr/sbin|/usr/bin|' chirp.hg/setup.py
}
2016-06-03 22:06:18 -05:00
package() {
2017-04-18 09:42:34 -05:00
cd chirp.hg
python2 setup.py install --root="$pkgdir" --optimize=1
2016-06-03 22:06:18 -05:00
}