051a33e2e9
Fix #377
32 lines
923 B
Text
32 lines
923 B
Text
pkgname=kcodecs
|
|
pkgver=5.37.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"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
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="eacf5414e903f8241b4dca7330defe041d4897ce55403b85e2792984bc314efa7f17ffbbdbabb9264ea17c8d7d69cde0037f9fdc72545c3cc40cd151684ddd40 kcodecs-5.37.0.tar.xz"
|