PKGBUILDs/extra/gnome-netstatus/PKGBUILD

32 lines
1.1 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 30928 2009-03-22 19:14:17Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-netstatus
pkgver=2.26.0
pkgrel=1
pkgdesc="A GNOME applet that shows network status"
arch=(i686 x86_64)
license=('GPL')
url="http://www.gnome.org"
depends=('gnome-panel>=2.26.0')
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.16.0')
options=(!emptydirs)
groups=('gnome-extra')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
install=gnome-netstatus.install
md5sums=('f116157535ec185f0ea7503fafc5edd6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/gnome-netstatus \
--localstatedir=/var --disable-static \
--disable-scrollkeeper || return 1
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-netstatus ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}