# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Allan McRae # Contributor: Aaron, phrakture, Griffin # Contributor: erkaN kaplaN pkgname=gwget pkgver=1.0.2 pkgrel=1 pkgdesc="Gwget is a download manager for the Gnome Desktop." arch=('i686' 'x86_64') url="http://gnome.org/projects/gwget/index.html" license=('GPL') depends=('libgnomeui' 'libnotify') makedepends=('perlxml' 'epiphany>=2.24' 'gnome-doc-utils>=0.11.2' 'intltool') install=gwget.install source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/1.0/$pkgname-$pkgver.tar.bz2) md5sums=('52b518ea58b3bd618db0c58910ee5ccc') options=('!libtool' '!emptydirs') build() { cd $srcdir/$pkgname-$pkgver CFLAGS="-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 ${CFLAGS}" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --enable-epiphany-extension --with-epiphany-version=2.26 \ --with-extension-prefix=/usr/lib/epiphany/2.26/extensions || return 1 make || return 1; make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$pkgdir install || return 1 install -dm755 $pkgdir/usr/share/gconf/schemas gconf-merge-schema $pkgdir/usr/share/gconf/schemas/${pkgname}.schemas \ $pkgdir/etc/gconf/schemas/*.schemas rm -f $pkgdir/etc/gconf/schemas/*.schemas }