summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 20:02:56 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 20:02:56 +0000
commitd2d9a4db0b190d5fdca16ad268d7e9822d8bf03c (patch)
treeaf98f4ebcdb65e3a5d4e68bcc0d534d98676ced0
parent552590baff74b2e4e05e1ddd2c6b741a23ab7584 (diff)
downloadpackages-d2d9a4db0b190d5fdca16ad268d7e9822d8bf03c.tar.gz
packages-d2d9a4db0b190d5fdca16ad268d7e9822d8bf03c.tar.bz2
packages-d2d9a4db0b190d5fdca16ad268d7e9822d8bf03c.tar.xz
packages-d2d9a4db0b190d5fdca16ad268d7e9822d8bf03c.zip
user/plasma-workspace-wallpapers: new package
-rw-r--r--user/plasma-workspace-wallpapers/APKBUILD41
1 files changed, 41 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"