1 # Maintainer: TDY <tdy@gmx.com>
2 # Contributor: lh <jarryson@gmail.com>
7 pkgdesc="A GTK+ download manager"
9 url="http://leafget.googlecode.com/"
11 depends=('gtk2' 'libsigc++2.0')
12 makedepends=('intltool>=0.35.0' 'pkgconfig>=0.9.0' 'subversion')
17 _svntrunk=http://leafget.googlecode.com/svn/trunk
23 if [[ -d $_svnmod/.svn ]]; then
24 cd $_svnmod && svn --config-dir ../ up -r $pkgver && cd ..
26 svn --config-dir ./ co $_svntrunk -r $pkgver $_svnmod
30 cp -r $_svnmod $_svnmod-build
33 sed -i 's#gnome-talk.png#/usr/share/pixmaps/leafget.xpm#' $_svnmod.desktop.in
35 sh autogen.sh --prefix=/usr --docdir=/usr/share/doc
37 make DESTDIR="$pkgdir" install
38 install -Dm644 data/shamrock.xpm "$pkgdir/usr/share/pixmaps/$_svnmod.xpm"