35 lines
766 B
Bash
Executable File
35 lines
766 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='syndication'
|
|
release='6'
|
|
version='6.27.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='An RSS/Atom parser library'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/syndication-${version}.tar.xz")
|
|
depends=(kcodecs qt6-base)
|
|
makedepends=(extra-cmake-modules doxygen qt6-tools)
|
|
sha256sums=( 'e28036eba9bf94f62466eaff66f49305fff9dd576a317df2474d6bfe5bfbc759' )
|
|
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
|
|
}
|
|
|