blob: 71e7e5bf6d5fe99c4cb465665178b09b4230c40d (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=oxygen-icons5
pkgver=5.67.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/${pkgver%.*}/oxygen-icons5-$pkgver.tar.xz"
build() {
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() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="d77da5e218e1abaf78069c3bd339c953e64b9f536d234f7d1a179b28476958170db8a660e2c7f0a04e65ca4ea99704d36b6232d698d6c15f78d4a388a568cc65 oxygen-icons5-5.67.0.tar.xz"
|