mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
#
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=knemo
|
|
pkgver=0.7.1
|
|
pkgrel=1
|
|
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' 'networkmanager>=0.8')
|
|
makedepends=('cmake' 'automoc4')
|
|
install=${pkgname}.install
|
|
options=('libtool')
|
|
source=(http://www.kde-apps.org/CONTENT/content-files/12956-$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('e9a129917dfc6515c992ee1de3c08c16')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|