1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
6 pkgdesc="HAM radio equipment control libraries"
8 url="http://hamlib.org"
10 depends=('perl' 'python2' 'tcl' 'libxml2' 'libusb')
11 makedepends=('libtool' 'swig')
12 source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
13 options=('!emptydirs')
14 changelog=${pkgname}.ChangeLog.markdown
17 export PYTHON=/usr/bin/python2
23 ./configure --prefix=/usr \
25 --with-python-binding \
32 cd $srcdir/$pkgname-$pkgver
34 make DESTDIR=$pkgdir install
36 # fix perl module location
37 cd $pkgdir/usr/lib/perl5/site_perl/
43 /usr/bin/find $pkgdir -name '.packlist' -delete
44 /usr/bin/find $pkgdir -name '*.pod' -delete
47 md5sums=('ccd5232d3285a31c29b5acce1c7a3a65')
48 sha256sums=('4231d431ebdd122cb5dea673e6dd8a3cb59601a770a1b2cc86264725dbe37843')