2010-05-31 02:50:48 +08:00
|
|
|
pkgname=knemo
|
2018-10-20 01:14:02 +08:00
|
|
|
pkgver=0.7.7.f3afe2e
|
2015-08-23 02:09:55 +08:00
|
|
|
pkgrel=1
|
2010-05-31 02:50:48 +08:00
|
|
|
pkgdesc="The KDE Network Monitor"
|
2018-10-20 01:14:02 +08:00
|
|
|
arch=('x86_64')
|
2010-05-31 02:50:48 +08:00
|
|
|
url="http://www.kde-apps.org/content/show.php?content=12956"
|
|
|
|
license=('GPL')
|
2018-10-20 01:14:02 +08:00
|
|
|
depends=('kdelibs4support' 'libksysguard' 'knotifyconfig' 'wireless_tools' 'iw' 'plasma-framework' 'hicolor-icon-theme')
|
|
|
|
makedepends=('extra-cmake-modules' 'kcmutils' 'plasma-framework' 'kdoctools' 'git' 'kdesignerplugin')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('network')
|
2018-10-20 01:14:02 +08:00
|
|
|
_commit=f3afe2e4b6f091f21a64905965abafd2ef46826d # frameworks
|
|
|
|
source=("git://git.kde.org/knemo.git#commit=$_commit" knemo-gcc6.patch)
|
|
|
|
sha256sums=('SKIP'
|
|
|
|
'5da88c3c60bf7ab924c85ee2c1159a12d4c376ad726eab784972abc36295a4fc')
|
2010-05-31 02:50:48 +08:00
|
|
|
|
2018-10-20 01:14:02 +08:00
|
|
|
prepare() {
|
2010-05-31 02:50:48 +08:00
|
|
|
mkdir build
|
2018-10-20 01:14:02 +08:00
|
|
|
cd knemo
|
|
|
|
# Fix build with GCC 6
|
|
|
|
patch -p1 -i ../knemo-gcc6.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2010-05-31 02:50:48 +08:00
|
|
|
cd build
|
2018-10-20 01:14:02 +08:00
|
|
|
|
|
|
|
cmake ../${pkgname} \
|
2010-05-31 02:50:48 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2018-10-20 01:14:02 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_TESTING=OFF
|
2013-03-02 13:34:51 +08:00
|
|
|
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
|
|
|
}
|