milou: intial import

This commit is contained in:
Fabian Kosmale 2014-06-22 14:02:46 +00:00
parent d79f469c4d
commit dc45ccd7a2

41
milou/PKGBUILD Normal file
View File

@ -0,0 +1,41 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../plasma.conf
pkgname=milou
pkgver=${PVersion}
pkgrel=1
pkgdesc='KRunner alternative with focus on searching'
arch=('i686' 'x86_64')
url='projects.kde.org/'
license=('LGPL')
depends=('qt5-base' 'qt5-script' 'qt5-declarative' 'qt5-webkit' 'krunner' 'baloo5')
makedepends=('extra-cmake-modules')
checkdepends=("cmake")
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
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
}