2010-05-31 02:50:48 +08:00
|
|
|
pkgname=knemo
|
2015-08-23 02:09:55 +08:00
|
|
|
pkgver=0.7.7
|
|
|
|
pkgrel=1
|
2010-05-31 02:50:48 +08:00
|
|
|
pkgdesc="The KDE Network Monitor"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.kde-apps.org/content/show.php?content=12956"
|
|
|
|
license=('GPL')
|
2015-03-26 05:36:03 +08:00
|
|
|
depends=('kde-runtime' 'wireless_tools' 'iw' 'networkmanager' 'libnl' 'libksysguard4')
|
2015-03-26 05:38:25 +08:00
|
|
|
makedepends=('cmake' 'automoc4' 'kde-workspace')
|
2010-05-31 02:50:48 +08:00
|
|
|
install=${pkgname}.install
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('network')
|
2010-05-31 02:50:48 +08:00
|
|
|
options=('libtool')
|
2015-08-23 02:09:55 +08:00
|
|
|
source=(http://kde-apps.org/CONTENT/content-files/12956-knemo-0.7.7.tar.xz)
|
|
|
|
sha512sums=('4a5214c2f0146aae60bbcf4bb09230823f13c53eab13489b67fb7eab6c19cac80a036b3e920bf2d99430f98144fae935448915953de785126bc05fcd4ed93065')
|
2010-05-31 02:50:48 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
2013-03-02 13:34:51 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
|
|
|
2010-05-31 02:50:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
2013-03-02 13:34:51 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-31 02:50:48 +08:00
|
|
|
}
|