1 # Contributor: Flamelab <panosfilip@gmail.com>
6 pkgdesc="A GUI tool written in C++ and Qt for evaluating the latency and speed of an Internet or LAN access by pinging and concurrently downloading test files from a customizable list of target servers."
8 url="http://sourceforge.net/projects/qspeedtest/"
11 makedepends=('subversion')
12 source=("qspeedtest.desktop" "fix-whatismyip-automation-url.patch")
15 _svntrunk=https://qspeedtest.svn.sourceforge.net/svnroot/qspeedtest
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 if [ -d $_svnmod-build ];then
35 cp -r $_svnmod $_svnmod-build
38 patch -Np0 -i ${srcdir}/fix-whatismyip-automation-url.patch
47 cd ${srcdir}/$_svnmod-build
48 mkdir -p ${pkgdir}/{usr/bin,usr/share/qspeedtest,usr/share/applications}
49 install -Dm755 bin/qspeedtest ${pkgdir}/usr/bin/qspeedtest
50 install -Dm644 gui/logo.png ${pkgdir}/usr/share/qspeedtest
51 install -Dm644 ${srcdir}/qspeedtest.desktop ${pkgdir}/usr/share/applications
52 # install -m755 cli/qspeedtestcli ${pkgdir}/usr/bin/qspeedtestcli # TEMPORARILY disabled
56 md5sums=('a608203d2b24d40d71a7a4085af9f93c'
57 'feadf84753c11bfd13e1e1c5aa9a5fd2')