34 lines
754 B
Bash
Executable File
34 lines
754 B
Bash
Executable File
#!/usr/bin/env bash
|
|
name='kcodecs'
|
|
release='4'
|
|
version='6.7.0'
|
|
url='https://community.kde.org/Frameworks'
|
|
description='Provide a collection of methods to manipulate strings using various encodings'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('LGPL')
|
|
source=("https://download.kde.org/stable/frameworks/${version%.*}/kcodecs-${version}.tar.xz")
|
|
depends=(qt6-base)
|
|
makedepends=(extra-cmake-modules doxygen qt6-tools gperf)
|
|
sha256sums=('9ab494055e06bdce45568b7c47edb2aa9ecaa9dec0c0fb152367b4321921b9f2')
|
|
group=(kde.frameworks)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup () {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
}
|
|
|
|
build () {
|
|
cmake --build build
|
|
}
|
|
|
|
package () {
|
|
INSTALL_ROOT="$DESTDIR" cmake --install build
|
|
}
|
|
|