35 lines
764 B
Bash
Executable File
35 lines
764 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='kitemmodels'
|
|
release='3'
|
|
version='6.5.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Models for Qt Model/View system'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('GPLv3')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kitemmodels-${version}.tar.xz")
|
|
depends=(qt6-base)
|
|
makedepends=(doxygen extra-cmake-modules qt6-tools qt6-declarative)
|
|
sha256sums=('36ec04b3fd25249a1ce9cfd08824f2c2e40ef4d54224e118e06fa21c5f9a4f76')
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DBUILD_TESTING=OFF \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DBUILD_QCH=ON
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
DESTDIR="$DESTDIR" cmake --install build
|
|
}
|
|
|