summaryrefslogblamecommitdiff
path: root/user/milou/APKBUILD
blob: 2520bb45d4b128307443b1a29fcdc8f5a9f7d784 (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.17.90
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 kitemmodels-dev krunner-dev kservice-dev plasma-framework-dev"
subpackages="$pkgname-lang"
source="https://download.kde.org/unstable/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="ce5d13440bde18916dbc14db703b05fc62aa1c64b85cfaba1aea1d29cf83e5904e21eec9ecbae9d2e27b18b0b44640d2c30f81c1aff667f19ec9ecf005623cf8  milou-5.17.90.tar.xz"