35 lines
818 B
Bash
Executable File
35 lines
818 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='kbookmarks'
|
|
release='3'
|
|
version='6.5.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Support for bookmarks and the XBEL format'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kbookmarks-${version}.tar.xz")
|
|
depends=(kconfig kconfigwidgets kcoreaddons kwidgetsaddons qt6-base)
|
|
makedepends=(extra-cmake-modules qt6-tools doxygen)
|
|
sha256sums=('97dabceae5b0eac1107c49c50d1d7d9a7d26b9246c9ab53d123990525c55fbec')
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
}
|
|
|