From b7fb5e4f26b6ce3f2130f768fe0cb1d06175bc6d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 18 Jul 2020 18:41:35 +0000 Subject: user/cervisia: New package --- user/cervisia/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 user/cervisia/APKBUILD (limited to 'user') diff --git a/user/cervisia/APKBUILD b/user/cervisia/APKBUILD new file mode 100644 index 000000000..8229df3f3 --- /dev/null +++ b/user/cervisia/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=cervisia +pkgver=20.04.3 +pkgrel=0 +pkgdesc="CVS Frontend" +url="https://kde.org/applications/development/org.kde.cervisia" +arch="all" +license="GPL-2.0+" +depends="" +makedepends="qt5-qtbase-dev cmake extra-cmake-modules kdoctools-dev kdesu-dev + kiconthemes-dev kinit-dev kitemviews-dev knotifications-dev kparts-dev + kwidgetsaddons-dev + + kauth-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev kcoreaddons-dev + kdbusaddons-dev kio-dev kjobwidgets-dev kpty-dev kservice-dev solid-dev + sonnet-dev kwindowsystem-dev kxmlgui-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="https://download.kde.org/stable/release-service/$pkgver/src/cervisia-$pkgver.tar.xz" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} \ + . + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="cdbd6d9c212e92ca7f925c23c20442fa72cb07f666a5f2895a1cb631ff9bc87024bdf2bdbb8b2c638104f688cca585b64eaec5c8ed20ea153fa1184a2f5193c2 cervisia-20.04.3.tar.xz" -- cgit v1.2.3-70-g09d2