aboutsummaryrefslogtreecommitdiffstats
path: root/community/kjsembed/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kjsembed/APKBUILD')
-rw-r--r--community/kjsembed/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/kjsembed/APKBUILD b/community/kjsembed/APKBUILD
new file mode 100644
index 0000000000..46bf1df671
--- /dev/null
+++ b/community/kjsembed/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kjsembed
+pkgver=5.60.0
+pkgrel=0
+pkgdesc="JavaScript bindings for QObject"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-or-later"
+depends_dev="qt5-qtsvg-dev kjs-dev ki18n-dev"
+makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev kdoctools-dev"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$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
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="e4811148cc1e42b2149d215c5365658a41fcf1d65cb68ce1261181520fdd7dc8771971baa748b1e0afec1eeb1528e9e22d837923bc6011dcb331730be0c023b5 kjsembed-5.60.0.tar.xz"