blob: d51d4d3280fd314caca0dfcba70752a961765b36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $Id: PKGBUILD 93450 2013-07-03 13:33:10Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org>
# Contributor: erkaN kaplaN <erkan@linux-sevenler.org>
# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
pkgname=gwget
pkgver=1.0.4
pkgrel=6
pkgdesc="Download manager for GNOME"
arch=('i686' 'x86_64')
url="http://projects.gnome.org/gwget/"
license=('GPL')
depends=('gtk2' 'gconf' 'libnotify')
makedepends=('intltool')
install=$pkgname.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
gwget-1.0.4-notify-0.7.patch
gwget-1.0.4-glib-2.32.patch
drop-libgnomeui.patch)
sha256sums=('a65b2b2b3befb6cf34a697a13111b35498a6d63f9a9b048a22b8654f35ef643f'
'84efbbea9c2a91c60288edb67264bbdb4ec2c579cf95b3baa8282040a1b65c76'
'319c4795d0034c4adacf302db697d966ca228fc1bbe9778af9dadcfb0c2531c8'
'465216f441271fffdd4530bc07829e733e0d3476fdc34f1f028da82cfc05373d')
build() {
cd "$srcdir/$pkgname-$pkgver"
# https://bugzilla.gnome.org/show_bug.cgi?id=634170
patch -Np1 -i "$srcdir/gwget-1.0.4-notify-0.7.patch"
# https://bugzilla.gnome.org/show_bug.cgi?id=665286
patch -Np1 -i "$srcdir/gwget-1.0.4-glib-2.32.patch"
# https://bugzilla.gnome.org/show_bug.cgi?id=671759
patch -Np1 -i "$srcdir/drop-libgnomeui.patch"
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --disable-schemas-install \
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|