2016-06-04 03:06:18 +00:00
|
|
|
# Maintainer: David Thurstenson thurstylark@gmail.com
|
|
|
|
pkgname=chirp-hg
|
2016-11-04 08:01:32 +00:00
|
|
|
pkgver=r2802+.c386ef4dc431+
|
2016-06-04 03:06:18 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="GUI tool for programming ham radios, built from hg repo"
|
|
|
|
arch=('any')
|
|
|
|
url="http://chirp.danplanet.com/"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('python2-lxml' 'python2-pyserial' 'desktop-file-utils' 'pygtk' 'curl')
|
|
|
|
makedepends=('mercurial')
|
2016-06-04 03:18:58 +00:00
|
|
|
provides=('chirp')
|
2016-06-04 03:06:18 +00:00
|
|
|
conflicts=('chirp' 'chirp-daily')
|
2016-06-04 04:15:30 +00:00
|
|
|
source=('chirp-hg::hg+http://d-rats.com/hg/chirp.hg')
|
2016-06-04 03:06:18 +00:00
|
|
|
noextract=()
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
|
|
|
|
}
|
|
|
|
|
2016-06-04 04:23:10 +00:00
|
|
|
prepare() {
|
|
|
|
sed -i 's|/usr/sbin|/usr/bin|' $srcdir/$pkgname/setup.py
|
|
|
|
}
|
|
|
|
|
2016-06-04 03:06:18 +00:00
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname"
|
2016-06-04 04:15:30 +00:00
|
|
|
python2 setup.py install --root="$pkgdir/" --optimize=1
|
2016-06-04 03:06:18 +00:00
|
|
|
}
|