summaryrefslogtreecommitdiff
path: root/community/mate-nettool
diff options
context:
space:
mode:
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
+}