37 lines
1002 B
Bash
Executable File
37 lines
1002 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='baloo'
|
|
release='6'
|
|
version='6.27.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='A framework for searching and managing metadata'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/baloo-${version}.tar.xz")
|
|
depends=(kconfig kcoreaddons kcrash kdbusaddons kfilemetadata ki18n kidletime kio lmdb qt6-base solid)
|
|
makedepends=(extra-cmake-modules kdoctools doxygen qt6-tools)
|
|
sha256sums=( '6b226118bde28e81217f8cd6129f6e24c5d422bd7a322fe682e592b028b72db7' )
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
# remove autostart file (it is bloat)
|
|
rm -f $DESTDIR/etc/xdg/autostart/baloo_file.desktop
|
|
# remove systemd stuff
|
|
rm -r "$DESTDIR"/usr/lib/systemd
|
|
}
|