updated on Fri Jan 13 20:02:10 UTC 2012
[aur-mirror.git] / gwget / PKGBUILD
blobee16ba54aa006adb1f23c9b5a106f67700cdf61b
1 # $Id: $
2 # Maintainer: Allan McRae <allan@archlinux.org>
3 # Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org>
4 # Contributor: erkaN kaplaN <erkan@linux-sevenler.org>
6 pkgname=gwget
7 pkgver=1.0.4
8 pkgrel=3
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"
12 license=('GPL')
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')
17 install=gwget.install
18 source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/1.0/$pkgname-$pkgver.tar.bz2 
19                 libnotify-0.7.patch)
20 md5sums=('b65ebc752cad068e747ae6ef45fafdcc'
21          '0a82f8650a9fecda5a80abbc6ae18312')
23 build() {
24   cd $srcdir/$pkgname-$pkgver
25   patch -Np0 -i ../libnotify-0.7.patch || return 1
26   
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
30   make || 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