summaryrefslogtreecommitdiff
path: root/community/mate-nettool
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-29 03:30:04 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-29 03:30:04 +0000
commit0a521de4508e14363c59922ab2744ab699e30288 (patch)
tree22a9004955fd3ec5f7aa81f799bd9eabed325d15 /community/mate-nettool
parent462391357aa5e749dc9908c15f3baa0b4416f3d8 (diff)
Wed Jan 29 03:27:46 UTC 2014
Diffstat (limited to 'community/mate-nettool')
-rw-r--r--community/mate-nettool/PKGBUILD35
-rw-r--r--community/mate-nettool/mate-nettool.install13
2 files changed, 48 insertions, 0 deletions
diff --git a/community/mate-nettool/PKGBUILD b/community/mate-nettool/PKGBUILD
new file mode 100644
index 000000000..ca928d0e9
--- /dev/null
+++ b/community/mate-nettool/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 104935 2014-01-28 14:00:49Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+
+pkgname=mate-nettool
+pkgver=1.8.1
+pkgrel=6
+pkgdesc="MATE interface for various networking tools."
+url="https://github.com/NiceandGently/mate-nettool"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('coreutils' 'gtk3' 'libgtop' 'net-tools')
+makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools')
+optdepends=('dnsutils: Required for DNS queries'
+ 'iputils: Required for ping, traceroute and finger'
+ 'nmap: Required for network discovery and security audits'
+ 'whois: Required for WHOIS queries'
+ 'yelp: for reading help documents')
+options=('!emptydirs')
+source=("https://github.com/NiceandGently/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('c05c525fee4d70c03ebad7e9bb9b7e4c')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh \
+ --prefix=/usr \
+ --disable-static \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/mate-nettool/mate-nettool.install b/community/mate-nettool/mate-nettool.install
new file mode 100644
index 000000000..bf6781f93
--- /dev/null
+++ b/community/mate-nettool/mate-nettool.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}