35 lines
751 B
Bash
Executable File
35 lines
751 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='karchive'
|
|
release='3'
|
|
version='6.5.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Qt addon providing access to numerous types of archives'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/karchive-${version}.tar.xz")
|
|
depends=(qt6-base)
|
|
makedepends=(extra-cmake-modules doxygen qt6-tools)
|
|
sha256sums=('e5530253c70de024926e1985154f9115f02af50c7d998a874a3175b404444e79')
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DWITH_LIBZSTD=OFF
|
|
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
}
|
|
|