updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / qtdownloadmanager-svn / PKGBUILD
blobc049d5aa8b3a632166404dca9f234dcb78b2ba66
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=qtdownloadmanager-svn
4 pkgver=14
5 pkgrel=1
6 pkgdesc="QtDownloadManager is a frontend for the console download accelerators like axel, proz, wget and others can be integrated."
7 url="http://www.qt-apps.org/content/show.php/QtDownloadManager+(QDM)?content=115484"
8 depends=('qt')
9 makedepends=('subversion')
10 optdepends=('axel')
11 arch=('i686' 'x86_64')
12 license=('GPL')
15 _svntrunk=http://qtdownloadmanager.googlecode.com/svn/trunk/ 
16 _svnmod=qtdownloadmanager
18 build() {
19   cd $startdir/src/
21   svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
23   msg "SVN checkout done or server timeout"
24   msg "Starting make..."
26   cd $srcdir/qtdownloadmanager/QtDownloadManager
28   qmake
29   make
31   # Binary
32   install -Dm755 QtDownloadManager $pkgdir/opt/QDM/QtDownloadManager
34   # Scripts
35   install -Dm644 ./scripts/wgethelper.sh $pkgdir/opt/QDM/scripts/wgethelper.sh
37   # Configs
38   install -Dm644 ./configs/defaults $pkgdir/opt/QDM/configs/defaults
40   # Icons
41   install -Dm644 ./images/icon.png $pkgdir/opt/QDM/icon.png
43   # Desktop Icon
44   install -Dm644 $startdir/qtdownloadmanager.desktop $pkgdir/usr/share/applications/qtdownloadmanager.desktop
45   install -Dm644 ./images/icon.png                   $pkgdir/usr/share/pixmaps/qtdownloadmanager.png