You are not logged in.
Since it's my first time, I figured I'd post here for comments before uploading to AUR
PKGBUILD
# Maintainer: Nicholas Tryon (KC2YTG) <dhraak at gmail dot com>
pkgname=chirp
pkgver=0.2.2
pkgrel=1
pkgdesc="GUI tool for programming ham radios; supports a large number of makes and models"
arch=('any')
url="http://chirp.danplanet.com/"
license=('GPL')
depends=('python2-lxml' 'python2-pyserial' 'desktop-file-utils')
options=(!emptydirs)
install=$pkgname.install
source=("http://chirp.danplanet.com/download/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('0ffcdac065a4471de70b4a0daf90f65c')
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:chirp.install
post_install() {
update-desktop-database -q
}
post_remove() {
update-desktop-database -q
}
# vim:set ts=2 sw=2 et:I got rid of all the namcap errors and such, but I'd still like to make sure I got everything right and proper.
(and if I hadn't loaned out my radio's programming cable, I could actually test out the program itself)
Offline
Looks good. Just FYI, to have $srcdir in 'cd "$srcdir/$pkgname-$pkgver"' is not required anymore. 'cd "$pkgname-$pkgver"' would do just fine.
Offline