2 # Maintainer: Allan McRae <allan@archlinux.org>
3 # Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org>
4 # Contributor: erkaN kaplaN <erkan@linux-sevenler.org>
9 pkgdesc="Gwget is a download manager for the Gnome Desktop."
10 arch=('i686' 'x86_64')
11 url="http://gnome.org/projects/gwget/index.html"
13 depends=('libgnomeui' 'libnotify')
14 makedepends=('perlxml' 'epiphany>=2.29' 'epiphany-extensions>=2.29' 'gnome-doc-utils>=0.11.2' 'intltool')
15 optdepends=('epiphany-extensions: for using gwget as a download manager in Epiphany web browser')
16 options=('!libtool' '!emptydirs')
18 source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/1.0/$pkgname-$pkgver.tar.bz2
20 md5sums=('b65ebc752cad068e747ae6ef45fafdcc'
21 '0a82f8650a9fecda5a80abbc6ae18312')
24 cd $srcdir/$pkgname-$pkgver
25 patch -Np0 -i ../libnotify-0.7.patch || return 1
27 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
28 --enable-epiphany-extension --with-epiphany-version=2.29 \
29 --with-extension-prefix=/usr/lib/epiphany/2.29/extensions || return 1
31 make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$pkgdir install || return 1
33 install -dm755 $pkgdir/usr/share/gconf/schemas
34 gconf-merge-schema $pkgdir/usr/share/gconf/schemas/${pkgname}.schemas \
35 $pkgdir/etc/gconf/schemas/*.schemas
36 rm -f $pkgdir/etc/gconf/schemas/*.schemas