summaryrefslogblamecommitdiff
path: root/user/milou/APKBUILD
blob: 787a48375d454dc56d7df2d208ad213538ebb85e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  
                                                     
             
             



                                    
                                                                                          
          

                                                                               
                           
                                                                            

         














                                                                                          



                                          


                                      
                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox-kde@adelielinux.org>
pkgname=milou
pkgver=5.12.8
pkgrel=0
pkgdesc="Search and launch plasmoid"
url="https://www.kde.org/"
arch="all"
license="GPL-2.0+ AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)"
depends=""
makedepends="cmake extra-cmake-modules python3 kcoreaddons-dev kdeclarative-dev
	ki18n-dev krunner-dev kservice-dev plasma-framework-dev"
subpackages="$pkgname-lang"
source="https://download.kde.org/stable/plasma/$pkgver/milou-$pkgver.tar.xz"

build() {
	if [ "$CBUILD" != "$CHOST" ]; then
		CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
	fi
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		-DCMAKE_C_FLAGS="$CFLAGS" \
		${CMAKE_CROSSOPTS}
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="87b34643c32e9c57cc3aa8b12b536d2cb1bf38fb8f4c4ea7df7b6022c498d3f3d796cb825b14d9fa7b636c30bfb2d136d4771b68e9951d4e5e9fc98bd4a53a28  milou-5.12.8.tar.xz"