diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/cervisia/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |