1 # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
6 pkgdesc="Field Day Logger with networked nodes"
8 url="http://www.fdlog.info"
10 depends=('python' 'tk' 'epdfview')
11 source=(${url}/files/FDLog1-148v-R0005.zip
15 'http://www.arrl.org/files/file/2010 Rules.pdf'
21 patch -p1 < path.patch
25 cd $srcdir/FDLog1-148v-R0001.zip
27 mv FDLOGMAN.TXT fdlogman.txt
28 mv README.TXT readme.txt
30 sed -i -e 's:os.startfile:os.system:' fdlog.py
31 sed -i -e 's:fdrules.pdf:epdfview fdrules.pdf:' fdlog.py
32 sed -i -e 's:bands.pdf:epdfview bands.pdf:' fdlog.py
34 mkdir -p $pkgdir/usr/share/$pkgname
35 install -m 644 * $pkgdir/usr/share/$pkgname/
36 install -m 644 "../2010 Rules.pdf" $pkgdir/usr/share/$pkgname/fdrules.pdf
37 install -D -m 755 ../$pkgname.1 $pkgdir/usr/bin/$pkgname
39 mkdir -p $pkgdir/usr/share/applications
40 install -m644 ../*.desktop $pkgdir/usr/share/applications/
41 mkdir -p $pkgdir/usr/share/pixmaps
42 install -m644 ../*.png $pkgdir/usr/share/pixmaps/
45 md5sums=('e825712903829059f7ad4e7e1d60a8f0'
46 '57fe9458e3b050af828effeae205aa6a'
47 'e43e4762ce4370e5af61e4664e37180a'
48 '222f239adce839cd07d4fff44fac3ee8'
49 'be5c13e14b659d0b30a9fecbe4c529c0'
50 '27556dcecb74ec6d2abd95f07b6452f9')
51 sha256sums=('11f94bf680d34ea66adfe700850e6cdcac1c95912f5ef2fa0d39769285fe2456'
52 '454a805ee9da49c6c35211b0a14031f783cadda3c7fb1a293b2639a58bc696eb'
53 '3e1c8ebc904f22edd2ca4841dbe03a9159c39db8eb20573efd7bf9ef2b1d9d93'
54 '5e3e7867385997b5a11c231d32f9429e09f234f50882ff8385241f4cbf92b500'
55 '70e15bdac0d7a33c567045d57815e9b5c548e11cecfc645aea21e55b2d777201'
56 '0ef9aee5abeba5624838ebdf0000e2dd50fc7d9612099f3dbaf02a39f4722d7b')