updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / fdlog / PKGBUILD
blobcb5407e2eb571a471aa4535d086c71aeed41d13e
1 # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
3 pkgname=fdlog
4 pkgver=1.148
5 pkgrel=1
6 pkgdesc="Field Day Logger with networked nodes"
7 arch=('i686' 'x86_64')
8 url="http://www.fdlog.info"
9 license=('GPL')
10 depends=('python' 'tk' 'epdfview')
11 source=(${url}/files/FDLog1-148v-R0005.zip
12         $pkgname.desktop
13         $pkgname.1
14         $pkgname.png
15         'http://www.arrl.org/files/file/2010 Rules.pdf'
16         path.patch)
18 build() {
19         cd $srcdir
20         
21         patch -p1 < path.patch
24 package() {
25         cd $srcdir/FDLog1-148v-R0001.zip
27         mv FDLOGMAN.TXT fdlogman.txt
28         mv README.TXT readme.txt
29         rm GPL.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')