From d2d9a4db0b190d5fdca16ad268d7e9822d8bf03c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 15 Jan 2019 20:02:56 +0000 Subject: user/plasma-workspace-wallpapers: new package --- user/plasma-workspace-wallpapers/APKBUILD | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 user/plasma-workspace-wallpapers/APKBUILD (limited to 'user') diff --git a/user/plasma-workspace-wallpapers/APKBUILD b/user/plasma-workspace-wallpapers/APKBUILD new file mode 100644 index 000000000..d4d5fc2d3 --- /dev/null +++ b/user/plasma-workspace-wallpapers/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=plasma-workspace-wallpapers +pkgver=5.12.7 +pkgrel=0 +pkgdesc="Default wallpapers from KDE" +url="https://www.KDE.org/" +arch="noarch" +license="LGPL-3.0-only" +depends="" +makedepends="cmake extra-cmake-modules" +subpackages="" +source="https://download.kde.org/stable/plasma/$pkgver/plasma-workspace-wallpapers-$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="7abda6e4cf223a72222ab2f2b3d8deb631b7ce1e6a415697c367acb53ae5f653fc8dbf6ddd631ff7a1888c2293d102bc0ba1753e50419138f7c9d7d2ea5f08a9 plasma-workspace-wallpapers-5.12.7.tar.xz" -- cgit v1.2.3-70-g09d2