aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kjsembed/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-31 22:19:45 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-02 07:01:19 +0000
commit8650fc5380adb46b4d1df16cb04c355caa1f3926 (patch)
tree829a40c5a407335febc4e6eb129add69fc1eced1 /testing/kjsembed/APKBUILD
parentd77fe7267d3c8962427d499f6d13ee99da7e29f7 (diff)
downloadaports-8650fc5380adb46b4d1df16cb04c355caa1f3926.tar.bz2
aports-8650fc5380adb46b4d1df16cb04c355caa1f3926.tar.xz
testing/kjsembed: new aport
Closes GH-8334
Diffstat (limited to 'testing/kjsembed/APKBUILD')
-rw-r--r--testing/kjsembed/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/kjsembed/APKBUILD b/testing/kjsembed/APKBUILD
new file mode 100644
index 0000000000..d677750975
--- /dev/null
+++ b/testing/kjsembed/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kjsembed
+pkgver=5.58.0
+pkgrel=1
+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=RelWithDebugInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="a6fe93c0ecfee82394878fc4c388ba749f50e0e935c131e422dd80a1b81246f3b1eea74ab21df5016284b02a19fb27c06354a1f10582809a59f9cb40421845ec kjsembed-5.58.0.tar.xz"