diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-31 18:31:50 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-01 17:41:59 +0000 |
commit | 6e87fa9f59c72a1823a510c382fc98c01befd1d1 (patch) | |
tree | 829574c87833c4655ac13a7bca579edd0cf20717 /testing/ktexteditor | |
parent | 619e6a39256d718511a7a4c7347aadfa46bab517 (diff) | |
download | aports-6e87fa9f59c72a1823a510c382fc98c01befd1d1.tar.bz2 aports-6e87fa9f59c72a1823a510c382fc98c01befd1d1.tar.xz |
testing/ktexteditor: new aport
Closes GH-8328
Diffstat (limited to 'testing/ktexteditor')
-rw-r--r-- | testing/ktexteditor/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/ktexteditor/APKBUILD b/testing/ktexteditor/APKBUILD new file mode 100644 index 0000000000..bd63bb29e5 --- /dev/null +++ b/testing/ktexteditor/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=ktexteditor +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Advanced embeddable text editor" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-only AND LGPL-2.1+ AND (LGPL-2.1-only OR LGPL-3.0-only)" +depends_dev="karchive-dev kconfig-dev kguiaddons-dev ki18n-dev kio-dev kparts-dev sonnet-dev kiconthemes-dev syntax-highlighting-dev kauth-dev" +makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +options="!check" # Fails due to requiring running X11 + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -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="fb6b11e257089b7d13d39e05dcddec5797e462d537a263adae680534b22f9f86bf17e844e6d769c3c4f801916e7a38c59cc996785a07c0c3996093eff2aa14d7 ktexteditor-5.58.0.tar.xz" |