aboutsummaryrefslogtreecommitdiffstats
path: root/community/kcodecs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kcodecs/APKBUILD')
-rw-r--r--community/kcodecs/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/kcodecs/APKBUILD b/community/kcodecs/APKBUILD
new file mode 100644
index 0000000000..41c8274359
--- /dev/null
+++ b/community/kcodecs/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kcodecs
+pkgver=5.60.0
+pkgrel=0
+pkgdesc="Provide a collection of methods to manipulate strings using various encodings"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-only AND LGPL-2.1-or-later"
+makedepends="extra-cmake-modules qt5-qttools-dev gperf doxygen"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="19bc25b0770412180024fb6be06ad5128cb28fe99fa084a6261a42aee28d8fd19ff3946c876755f4ad15d6a376d8696510d4f9afb4aa318f459680ad4c19d779 kcodecs-5.60.0.tar.xz"