mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
35 lines
1.3 KiB
Bash
35 lines
1.3 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org>
|
|
# Contributor: erkaN kaplaN <erkan@linux-sevenler.org>
|
|
|
|
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
|
|
}
|