diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-06 19:59:19 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-10-06 19:59:19 -0500 |
commit | 50b3b2885183bac697824633cfc17b6b6e3d7690 (patch) | |
tree | 3b0dfadeaa8fbb655326197486a7e8ddcce2b2b6 /user/oxygen | |
parent | 74d17a2093f0112546fec7a9e9f3f7431a156da1 (diff) | |
download | packages-50b3b2885183bac697824633cfc17b6b6e3d7690.tar.gz packages-50b3b2885183bac697824633cfc17b6b6e3d7690.tar.bz2 packages-50b3b2885183bac697824633cfc17b6b6e3d7690.tar.xz packages-50b3b2885183bac697824633cfc17b6b6e3d7690.zip |
user/oxygen: new package
Diffstat (limited to 'user/oxygen')
-rw-r--r-- | user/oxygen/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/user/oxygen/APKBUILD b/user/oxygen/APKBUILD new file mode 100644 index 000000000..a10fde8ba --- /dev/null +++ b/user/oxygen/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=oxygen +pkgver=5.8.7 +pkgrel=0 +pkgdesc="'Oxygen' theme for KDE" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kguiaddons-dev kservice-dev + kwidgetsaddons-dev kcompletion-dev frameworkintegration-dev + kwindowsystem-dev kwayland-dev kdecoration-dev kcmutils-dev" +makedepends="$depends_dev cmake extra-cmake-modules libxcb-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.kde.org/stable/plasma/$pkgver/oxygen-$pkgver.tar.xz" +builddir="$srcdir/oxygen-$pkgver" + +build() { + cd "$builddir" + 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() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="9c7d53f2da76cc34272977d23856fa527a540aefff8308513603338aa5a48c59654d69e60da11b528ccd335d58b71159b36646e4f8cddb24937c36ef5bf9cf6d oxygen-5.8.7.tar.xz" |