aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdesrc-build/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kdesrc-build/APKBUILD')
-rw-r--r--community/kdesrc-build/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/kdesrc-build/APKBUILD b/community/kdesrc-build/APKBUILD
new file mode 100644
index 0000000000..5ab429cff8
--- /dev/null
+++ b/community/kdesrc-build/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kdesrc-build
+pkgver=20.06
+pkgrel=1
+arch="noarch !armhf" # armhf blocked by extra-cmake-modules
+url="https://invent.kde.org/sdk/kdesrc-build"
+pkgdesc="Script to streamline setting up and maintaining KDE software development environment"
+license="GPL-2.0-or-later"
+depends="
+ breezy
+ cmake
+ dialog
+ git
+ perl
+ perl-io-socket-ssl
+ perl-yaml-libyaml
+ "
+makedepends="
+ extra-cmake-modules
+ kdoctools-dev
+ "
+source="https://invent.kde.org/sdk/kdesrc-build/-/archive/v$pkgver/kdesrc-build-v$pkgver.tar.gz"
+subpackages="$pkgname-doc"
+builddir="$srcdir/$pkgname-v$pkgver"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="107dc917a1ee535ac15ee89d328502b3550ca4bff8efbdca59e3a82bcf6faba5d23b441a4e0ca37f361a5c24cde5629d462af368d24023b5a070f71673ef4bae kdesrc-build-v20.06.tar.gz"