summaryrefslogtreecommitdiff
path: root/user/oxygen-icons5
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-01 05:34:38 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-01 05:34:38 +0000
commit2692b4530ddccdcc1fd5b17eaa4812b98b4e34b3 (patch)
tree96dbf7403789e6644e68fed418ffa1d3a8e155ad /user/oxygen-icons5
parentfaea34f172e8e58bc51d70cfdf2c25ce54ed2e72 (diff)
downloadpackages-2692b4530ddccdcc1fd5b17eaa4812b98b4e34b3.tar.gz
packages-2692b4530ddccdcc1fd5b17eaa4812b98b4e34b3.tar.bz2
packages-2692b4530ddccdcc1fd5b17eaa4812b98b4e34b3.tar.xz
packages-2692b4530ddccdcc1fd5b17eaa4812b98b4e34b3.zip
user/oxygen-icons5: new package
Diffstat (limited to 'user/oxygen-icons5')
-rw-r--r--user/oxygen-icons5/APKBUILD42
1 files changed, 42 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"