From 2692b4530ddccdcc1fd5b17eaa4812b98b4e34b3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 1 Nov 2018 05:34:38 +0000 Subject: user/oxygen-icons5: new package --- user/oxygen-icons5/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 user/oxygen-icons5/APKBUILD diff --git a/user/oxygen-icons5/APKBUILD b/user/oxygen-icons5/APKBUILD new file mode 100644 index 000000000..6cbaa49a4 --- /dev/null +++ b/user/oxygen-icons5/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=oxygen-icons5 +pkgver=5.51.0 +pkgrel=0 +pkgdesc="The KDE Oxygen icon set" +url="https://www.kde.org/" +arch="noarch" +options="!check" # fdupes, same thing as breeze-icons +license="LGPL-2.1" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev" +subpackages="" +source="https://download.kde.org/stable/frameworks/5.51/oxygen-icons5-$pkgver.tar.xz" + +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="7ac19cf040604211a164618c9778db435234a7c05758a4915048308f1d411ee74f827496df238a0246cab6c475cc0b35fd02e42092875c069f048df088cf7b52 oxygen-icons5-5.51.0.tar.xz" -- cgit v1.2.3-70-g09d2