blob: 68d4d72f55507d9180240ebd14abdbd1f34c68c8 (
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 93470 2013-07-04 00:59:01Z 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=7
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'
'e95bc7d60bdd98c81d0b44c0d62122889536ee5bc0013d2daaa74244252d0c53')
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
}
|