# $Id: PKGBUILD 66316 2012-02-23 14:03:25Z allan $ # Maintainer: Andrea Scarpino # Contributor: Sergej Pupykin # Contributor: Stefano Zamprogno pkgname=knemo pkgver=0.7.3 pkgrel=2 pkgdesc="The KDE Network Monitor" arch=('i686' 'x86_64' 'mips64el') 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 }