chirp-hg/PKGBUILD

31 lines
712 B
Bash
Raw Normal View History

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