diff options
Diffstat (limited to 'extra/gnome-netstatus')
-rw-r--r-- | extra/gnome-netstatus/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/gnome-netstatus/gnome-netstatus.install | 22 |
2 files changed, 53 insertions, 0 deletions
diff --git a/extra/gnome-netstatus/PKGBUILD b/extra/gnome-netstatus/PKGBUILD new file mode 100644 index 000000000..b661b1ee8 --- /dev/null +++ b/extra/gnome-netstatus/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 92034 2010-09-28 17:08:48Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-netstatus +pkgver=2.28.2 +pkgrel=1 +pkgdesc="A GNOME applet that shows network status" +arch=(i686 x86_64) +license=('GPL') +url="http://www.gnome.org" +depends=('gnome-panel-bonobo>=2.32.0' 'hicolor-icon-theme') +makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.20.2') +options=(!emptydirs) +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.bz2) +install=gnome-netstatus.install +sha256sums=('d1ad0a668a1344898d4f47b5591adddc7791edb6c2e92136ebcf8d278d959119') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gnome-netstatus \ + --localstatedir=/var --disable-static \ + --disable-scrollkeeper + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + 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 + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/extra/gnome-netstatus/gnome-netstatus.install b/extra/gnome-netstatus/gnome-netstatus.install new file mode 100644 index 000000000..deb8b6773 --- /dev/null +++ b/extra/gnome-netstatus/gnome-netstatus.install @@ -0,0 +1,22 @@ +pkgname=gnome-netstatus + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --install ${pkgname} +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |