1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
6 pkgdesc="Commad line tool for Wouxun. Utility downloads binary memory map from Wouxun radio to file and uploads this file to the radio. This map contains all settings, channels, locks etc."
8 url="http://owx.chmurka.net"
9 license=('custom:beerware')
10 makedepends=('gcc' 'sed')
12 source=($url/files/${pkgname}-current.tar.gz LICENSE)
15 cd $srcdir/${pkgname}-${pkgver}/src
17 # version as the package version
18 sed -i -e s:SVN:${pkgver}: version.h
23 mkdir -p $pkgdir/usr/{bin,libexec}
24 mkdir -p $pkgdir/usr/share/{doc/$pkgname,licenses/$pkgname}
27 install -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname
29 cd ${pkgname}-${pkgver}/docs
30 install -m 644 * $pkgdir/usr/share/doc/$pkgname
33 install -D -m 755 $pkgname $pkgdir/usr/libexec/$pkgname
34 ln -sf ../libexec/$pkgname $pkgdir/usr/bin/$pkgname-check
35 ln -sf ../libexec/$pkgname $pkgdir/usr/bin/$pkgname-get
36 ln -sf ../libexec/$pkgname $pkgdir/usr/bin/$pkgname-put
37 ln -sf ../libexec/$pkgname $pkgdir/usr/bin/$pkgname-export
38 ln -sf ../libexec/$pkgname $pkgdir/usr/bin/$pkgname-import
41 md5sums=('e9dfb0349a2b8144f2d175fbec0251f9'
42 '04c8deadd6984048760870d0fb397f25')
43 sha256sums=('43c14704e7d7346237c4e4a38dd9216f2432c7bc596756b53e4582b0471a1f2d'
44 'fd0d0ebbd3437872fe147bc5c86a25234b1d166f6bb6f9399900ca2aebb78ec2')