2014-06-22 22:02:46 +08:00
|
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
|
|
|
|
source ../plasma.conf
|
|
|
|
|
|
|
|
pkgname=milou
|
|
|
|
pkgver=${PVersion}
|
2014-07-18 06:19:21 +08:00
|
|
|
pkgrel=2
|
2014-06-22 22:02:46 +08:00
|
|
|
pkgdesc='KRunner alternative with focus on searching'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url='projects.kde.org/'
|
|
|
|
license=('LGPL')
|
2014-07-29 06:19:47 +08:00
|
|
|
depends=('qt5-base' 'qt5-script' 'qt5-declarative' 'qt5-webkit' 'krunner' 'kf5-baloo')
|
2014-06-22 22:02:46 +08:00
|
|
|
makedepends=('extra-cmake-modules')
|
|
|
|
checkdepends=("cmake")
|
|
|
|
groups=('plasma')
|
|
|
|
options=("debug")
|
2014-07-18 06:19:21 +08:00
|
|
|
source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
sha256sums=( $(getSum ${pkgname}) )
|
2014-06-22 22:02:46 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=${PBuildType} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
|
|
|
|
-DLIB_INSTALL_DIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd build
|
|
|
|
make test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|