summaryrefslogtreecommitdiff
path: root/extra/gnome-nettool
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnome-nettool')
-rw-r--r--extra/gnome-nettool/PKGBUILD27
-rw-r--r--extra/gnome-nettool/gnome-nettool.install11
2 files changed, 38 insertions, 0 deletions
diff --git a/extra/gnome-nettool/PKGBUILD b/extra/gnome-nettool/PKGBUILD
new file mode 100644
index 000000000..757d378d7
--- /dev/null
+++ b/extra/gnome-nettool/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 91819 2010-09-28 07:23:49Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Kritoke <kritoke@nospam.gmail.com>
+
+pkgname=gnome-nettool
+pkgver=2.32.0
+pkgrel=1
+pkgdesc="A Collection of GNOME2 Networking Tools."
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gconf>=2.32.0' 'libgtop>=2.28.1' 'dnsutils' 'netkit-bsd-finger' 'whois' 'hicolor-icon-theme')
+makedepends=('gnome-doc-utils>=0.20.1' 'pkgconfig' 'intltool')
+conflicts=('gnome-network')
+replaces=('gnome-netinfo')
+groups=('gnome-extra')
+url="http://www.gnome.org"
+install=gnome-nettool.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('8c70f85952760170114b2fa4be3ccaa3fc6298f802bacda2503ed482b8a0539c')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-scrollkeeper
+ make
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/extra/gnome-nettool/gnome-nettool.install b/extra/gnome-nettool/gnome-nettool.install
new file mode 100644
index 000000000..d7d985045
--- /dev/null
+++ b/extra/gnome-nettool/gnome-nettool.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}