aports/community/milou/APKBUILD
2025-05-09 06:12:35 +00:00

51 lines
1.3 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-plasma
maintainer="team/kde <bribbers@disroot.org>"
pkgname=milou
pkgver=6.3.5
pkgrel=0
pkgdesc="A dedicated search application built on top of Baloo"
# armhf blocked by qt6-qtdeclarative
arch="all !armhf"
url="https://kde.org/plasma-desktop/"
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)"
makedepends="
extra-cmake-modules
kcoreaddons-dev
kdeclarative-dev
ki18n-dev
kitemmodels-dev
krunner-dev
kservice-dev
libplasma-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
qt6-qtdeclarative-private-dev
samurai
"
case "$pkgver" in
*.*.9*) _rel=unstable;;
*) _rel=stable;;
esac
subpackages="$pkgname-lang"
_repo_url="https://invent.kde.org/plasma/milou.git"
source="https://download.kde.org/$_rel/plasma/$pkgver/milou-$pkgver.tar.xz"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
f8d5ba1b251ce315f492bc29143321b099e77e9a5d71c4a3ff9571facf9576cb1c7bf12e5e15fb2e82dee7274ac11967ae5556030c42e6bf23874e471fc9d5df milou-6.3.5.tar.xz
"