summaryrefslogblamecommitdiff
path: root/user/xfce4-whiskermenu-plugin/APKBUILD
blob: 7d6b8c8fb3c5e8184d51eeaded96545ff697ab96 (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=xfce4-whiskermenu-plugin
pkgver=2.7.2
pkgrel=0
pkgdesc="Whisker menu plugin for the XFCE panel"
url="https://xfce.org"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
makedepends="cmake gtk+3.0-dev exo-dev garcon-dev xfce4-panel-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/${pkgver%.*}/xfce4-whiskermenu-plugin-$pkgver.tar.bz2"

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
}

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

sha512sums="970734e91ae9e1681d5287e7c93ab7abd143b125f0cf7f0ed77e0552b94c9152ef4f1c5aa970a6d3f1a803ede1e5c5dc8d2c0146f8ab51ecfe4e6934716a190c  xfce4-whiskermenu-plugin-2.7.2.tar.bz2"