1 # Maintainer: sausageandeggs <sausageandeggs@archlinux.us>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: Allan McRae <mcrae_allan@hotmail.com>
8 pkgdesc="Easy to use GUI file downloader - svn version"
9 url="http://multiget.sourceforge.net"
11 depends=('wxgtk' 'libglade')
12 makedepends=('intltool' 'svn')
13 arch=('i686' 'x86_64')
14 _svntrunk=https://multiget.svn.sourceforge.net/svnroot/multiget
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 [ -d "$srcdir/$_svnmod-build" ] && rm -rf "$srcdir/$_svnmod-build"
26 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
27 cd "$srcdir/$_svnmod-build"
29 ./autogen.sh --prefix=/usr --docdir=/usr/share/doc/${_svnmod}
34 cd ${srcdir}/$_svnmod-build
35 make DESTDIR=${pkgdir} install
37 install -Dm644 ${srcdir}/${_svnmod}-build/data/multiget.desktop \
38 ${pkgdir}/usr/share/applications/multiget.desktop
39 install -Dm644 ${srcdir}/${_svnmod}-build/newicons/48/logo_48.xpm \
40 ${pkgdir}/usr/share/pixmaps/multiget.xpm
41 # Mv docs to avoid pkg conflict
42 mkdir -p ${pkgdir}/usr/share/doc/ #${_svnmod}
43 mv $pkgdir/usr/doc/${_svnmod} $pkgdir/usr/share/doc/${_svnmod}