APKBUILD 1.18 KB
Newer Older
Bart Ribbers's avatar
Bart Ribbers committed
1 2 3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=milou
4
pkgver=5.17.4
Bart Ribbers's avatar
Bart Ribbers committed
5 6
pkgrel=0
pkgdesc="A dedicated search application built on top of Baloo"
7
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
Bart Ribbers's avatar
Bart Ribbers committed
8 9
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)"
10 11
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kdeclarative-dev kservice-dev plasma-framework-dev krunner-dev kitemmodels-dev"
source="https://download.kde.org/stable/plasma/$pkgver/milou-$pkgver.tar.xz"
Bart Ribbers's avatar
Bart Ribbers committed
12 13
subpackages="$pkgname-lang"

14 15 16 17 18 19
prepare() {
	default_prepare

	mkdir "$builddir"/build
}

Bart Ribbers's avatar
Bart Ribbers committed
20
build() {
21 22
	cd "$builddir"/build
	cmake "$builddir" \
Bart Ribbers's avatar
Bart Ribbers committed
23 24 25 26 27 28 29
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
30
	cd "$builddir"/build
Bart Ribbers's avatar
Bart Ribbers committed
31 32 33 34
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
35
	cd "$builddir"/build
Bart Ribbers's avatar
Bart Ribbers committed
36 37
	DESTDIR="$pkgdir" make install
}
38
sha512sums="41040ac9400eb5823232a12d19f6938bb0928e8a895d4f5255c48d8ebf0ca760fc9c83898e658d4cec2535b087f95d04376f91fadbe3ced7e8f1b831c27f7883  milou-5.17.4.tar.xz"