35 lines
787 B
Bash
35 lines
787 B
Bash
#!/usr/bin/env bash
|
|
name='kholidays'
|
|
release='6'
|
|
version='6.27.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='KDE library for regional holiday information'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kholidays-${version}.tar.xz")
|
|
depends=(qt6-base)
|
|
makedepends=(extra-cmake-modules qt6-declarative qt6-tools doxygen)
|
|
sha256sums=( '84ce2acd5565a9510d74945ea2311f8c099cb031393255d1c8d399665d57b914' )
|
|
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
|
|
}
|
|
|