diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-18 18:41:35 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-18 18:41:35 +0000 |
commit | b7fb5e4f26b6ce3f2130f768fe0cb1d06175bc6d (patch) | |
tree | 7f1569446cf7b05d1a91986f46e88e59015ca15c | |
parent | 1bf531c749312859a9b546fd37edbc9c5f22ac4d (diff) | |
download | packages-b7fb5e4f26b6ce3f2130f768fe0cb1d06175bc6d.tar.gz packages-b7fb5e4f26b6ce3f2130f768fe0cb1d06175bc6d.tar.bz2 packages-b7fb5e4f26b6ce3f2130f768fe0cb1d06175bc6d.tar.xz packages-b7fb5e4f26b6ce3f2130f768fe0cb1d06175bc6d.zip |
user/cervisia: New package
-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" |