4 pkgdesc="UrlGfe is a GTK2 download manager"
6 url="http://urlget.sourceforge.net/"
8 depends=('gtk2' 'curl' 'startup-notification' 'gstreamer0.10-base' 'libnotify')
9 makepdepends=('subversion')
10 install=$pkgname.install
12 md5sums=(59865a98bfd192e966a28963da821440)
14 _svntrunk=http://urlget.svn.sourceforge.net/svnroot/urlget/trunk/
19 msg "Getting source..."
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn --config-dir ../ up -r $pkgver)
23 svn --config-dir ./ co $_svntrunk -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Creating make environment..."
28 rm -rf $srcdir/$_svnmod-build
29 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
30 cd $srcdir/$_svnmod-build
32 msg "Starting make..."
34 patch -Np1 -i $srcdir/fix.patch
36 ./configure --prefix=/usr --enable-notify --enable-gstreamer
39 make DESTDIR=$startdir/pkg install || return 1
40 install -Dm755 uget-cmd/uget-cmd $pkgdir/usr/bin/uget-cmd
41 echo "StartupNotify=true" >> $pkgdir/usr/share/applications/uget-gtk.desktop