1 # WB2FKO <mph at sportscliche dot com>
5 pkgdesc="QSO logger and log editor"
7 url="http://home.kpn.nl/w.knol18/qle/qle.html"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-tk' 'sqlite3' 'sqlite3-doc' 'perl-pdf-labels' 'perl-pdf-create' 'perl-dbd-sqlite'
10 'perl-dbi' 'perl-config-general')
11 optdepends=('hamlib: rig interfacing'
12 'cwdaemon: transmitting cw')
14 source=(http://home.kpn.nl/w.knol18/qle/$pkgname-$pkgver.tar.gz
17 md5sums=('ff894981cbb9319be886075ca21ff131'
18 '1a8776642a3733ca645d908eda113d37'
19 '5b60b0fe52cb3ca0fab0cfe87a5f0c8a')
21 # All files will be copied to /opt
22 mkdir -p $pkgdir/opt/$pkgname
23 cd "$srcdir/$pkgname-$pkgver/"
24 # The following line identifies the install location to the script and
25 # allows the program to be started with a menu entry. If the program
26 # directory gets copied to another location (such as the home
27 # directory) this line must be modified accordingly. QLE can always be
28 # launched from the command line with ./qle.sh as described in README
29 sed -i '20 a cd /opt/qle' qle.sh
30 cp -ra $srcdir/$pkgname-$pkgver/*.* $pkgdir/opt/$pkgname/
31 cp -ra $srcdir/$pkgname-$pkgver/* $pkgdir/opt/$pkgname/
35 chown -R $USER: $pkgdir/opt/$pkgname
36 find "$pkgdir/opt/$pkgname/" -type f | xargs chmod 755
38 mkdir -p $pkgdir/usr/share/pixmaps
39 mkdir -p $pkgdir/usr/share/applications
40 install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
41 install -Dm644 $pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
42 echo -e "\n qle is installed in the /opt directory of root \n"
45 # vim:set ts=2 sw=2 et: