summaryrefslogtreecommitdiff
path: root/community-testing/knemo
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-17 19:20:30 +0000
committerroot <root@rshg054.dnsready.net>2012-02-17 19:20:30 +0000
commit4fc59478d1180fd7984003f5b1645fe40954299f (patch)
tree35f3d7dada2cfcb8194cdaed447c431664746934 /community-testing/knemo
parent76774d40da5ce246c9f2178fdf937706d99af4b2 (diff)
Fri Feb 17 19:20:30 UTC 2012
Diffstat (limited to 'community-testing/knemo')
-rw-r--r--community-testing/knemo/PKGBUILD40
-rw-r--r--community-testing/knemo/knemo.install11
2 files changed, 51 insertions, 0 deletions
diff --git a/community-testing/knemo/PKGBUILD b/community-testing/knemo/PKGBUILD
new file mode 100644
index 000000000..48224bb73
--- /dev/null
+++ b/community-testing/knemo/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 64583 2012-02-16 20:41:18Z heftig $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com>
+
+pkgname=knemo
+pkgver=0.7.3
+pkgrel=2
+pkgdesc="The KDE Network Monitor"
+arch=('i686' 'x86_64')
+url="http://www.kde-apps.org/content/show.php?content=12956"
+license=('GPL')
+depends=('kdebase-workspace' 'wireless_tools' 'iw' 'libnl1'
+ 'gtk-update-icon-cache')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+options=('libtool')
+source=("http://www.kde-apps.org/CONTENT/content-files/12956-${pkgname}-${pkgver}.tar.bz2")
+md5sums=('24b5ec27b862ed7026ff643193952b78')
+
+build() {
+ cd ${srcdir}
+
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+
+ make DESTDIR=${pkgdir} install
+
+ # remove knemo autostart
+ rm -rf ${pkgdir}/usr/share/autostart
+}
diff --git a/community-testing/knemo/knemo.install b/community-testing/knemo/knemo.install
new file mode 100644
index 000000000..0fbb3047a
--- /dev/null
+++ b/community-testing/knemo/knemo.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}