aboutsummaryrefslogblamecommitdiffstats
path: root/community/oxygen-icons/APKBUILD
blob: a8a403891fa371eefd12c827c7a82eb3b58851b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                                  

             
                                                             



                                                                    
                                                                                             

                                    





                               
         

                            
                                         






                                             
                            



                                          
                            

                                      
                                                                                                                                                                          
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=oxygen-icons
_pkgname=oxygen-icons5
pkgver=5.68.0
pkgrel=0
arch="noarch !armhf" # # armhf blocked by extra-cmake-modules
pkgdesc="Oxygen icon theme"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
makedepends="$depends_dev extra-cmake-modules fdupes qt5-qtbase-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/oxygen-icons5-$pkgver.tar.xz"
builddir="$srcdir/$_pkgname-$pkgver"

prepare() {
	default_prepare

	mkdir "$builddir"/build
}

build() {
	cd "$builddir"/build
	cmake "$builddir" \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_QCH=ON
	make
}

check() {
	cd "$builddir"/build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" make install
}
sha512sums="d7ba6906823b0e4c6a724b98b587808d8136e29a7f3bdf6fdb8309cbb9bfd43bc903a79cf5629c5f5cbf15510de3526332728f538d8ff624c52c021488b4ca6c  oxygen-icons5-5.68.0.tar.xz"