1 # Maintainer: Heiko Baums <heiko@baums-on-web.de>
2 # Contributor: János Illés <ijanos@gmail.com>
7 pkgdesc="A tool to manage your UMTS (3G) card/device (send sms, modify pin, monitor traffic)"
8 url="http://umtsmon.sourceforge.net/"
10 arch=('i686' 'x86_64')
11 depends=('qt3' 'ppp' 'libusb')
12 optdepends=('gksu: umtsmon will complain if gksu is missing, but works fine after ignoring the error message'
13 'usb_modeswitch: devices with ZeroCD functionality may need this to get working'
14 'polymer: nice looking QT3 theme without KDE dependencies')
15 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.src.tar.gz)
16 md5sums=('2f9260d1fc69b230cf0035efa1a962f0')
20 export PATH=/opt/qt/bin:$PATH
21 cd $srcdir/$pkgname-$pkgver
22 sed -i '29i#include <sys/stat.h>\n' src/base/SerialPort.cpp
31 cd $srcdir/$pkgname-$pkgver
32 install -m755 -D umtsmon $pkgdir/usr/sbin/umtsmon
33 mkdir -p $pkgdir/usr/share/umtsmon/translations/
34 cp i18n/*.qm $pkgdir/usr/share/umtsmon/translations/
35 install -m644 -D umtsmon.desktop $pkgdir/usr/share/applications/umtsmon.desktop
36 install -m644 -D images/128/umtsmon-128x128.png $pkgdir/usr/share/pixmaps/umtsmon-128x128.png