35 lines
812 B
Bash
35 lines
812 B
Bash
#!/usr/bin/env bash
|
|
name='kiconthemes'
|
|
release='2'
|
|
version='6.0.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Support for icon themes'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kiconthemes-${version}.tar.xz")
|
|
depends=(qt6-base qt6-svg kconfigwidgets kcolorscheme karchive kwidgetsaddons)
|
|
makedepends=(extra-cmake-modules doxygen qt6-tools)
|
|
sha256sums=('f557bd269fafe617eb8d4b7ac2959609f96cce3ea8b1b3ac231063a726927bb0')
|
|
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
|
|
}
|
|
|