pmaports/kde/kcodecs/APKBUILD

32 lines
869 B
Text
Raw Normal View History

pkgname=kcodecs
pkgver=5.36.0
pkgrel=1
pkgdesc='Provide a collection of methods to manipulate strings using various encodings'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="qt5-qtbase"
makedepends="extra-cmake-modules qt5-qttools-dev clang py3-qt5 gperf doxygen"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake "$srcdir"/${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="d81b1ea2f1f9da4666d94e0a6c5998f7af59347c609435b7052635ce1ff3f7b2418d72253b200031de9355bfc09594ee5fc501d099023622a79b6ae482dcc9d2 kcodecs-5.36.0.tar.xz"