26 lines
667 B
Bash
26 lines
667 B
Bash
# Maintainer: David Thurstenson thurstylark@gmail.com
|
|
pkgname=chirp-hg
|
|
pkgver=r2714.333a280ca0c4
|
|
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')
|
|
provides=('chirp')
|
|
conflicts=('chirp' 'chirp-daily')
|
|
source=('chirp-hg::hg+http://d-rats.com/hg/chirp.hg')
|
|
noextract=()
|
|
md5sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "$srcdir/$pkgname"
|
|
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
python2 setup.py install --root="$pkgdir/" --optimize=1
|
|
}
|