summaryrefslogblamecommitdiff
path: root/user/lxqt-themes/APKBUILD
blob: 69b7aee6ed2a203fc1fff06a3e0c18fe7d63916d (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                   

            
        
                              
                             
             
                                  

                   
                                            
                                                                                                 

         









                                                                                          

                                          


           
                                               

 
                                                                                                                                                                       
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=lxqt-themes
pkgver=1.3.0
_lxqt=0.13.0
pkgrel=0
pkgdesc="Core themes for LXQt"
url="https://lxqt.github.io/"
arch="noarch"
options="!check"  # No test suite.
license="LGPL-2.1+"
depends=""
makedepends="cmake lxqt-build-tools>=$_lxqt"
source="https://github.com/lxde/lxqt-themes/releases/download/$pkgver/lxqt-themes-$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} -Bbuild
	make -C build
}

package() {
	make DESTDIR="$pkgdir" -C build install
}

sha512sums="b07bd6223b5d39bc728722bfe88698692d283b8fb5af302c0c74f1aca32fc8d53d904fe3ad60e3e0d8d81d33fc1404856e2d6d360a71f3ec3d1f6e602a2941e8  lxqt-themes-1.3.0.tar.xz"