blob: 7aa9b05af2044cac8c818b7a8612d6228dde74fe (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xfce4-whiskermenu-plugin
pkgver=2.2.1
pkgrel=0
pkgdesc="Whisker menu plugin for the XFCE panel"
url="https://xfce.org"
arch="all"
options="!check" # no tests
license="GPL-2.0+"
makedepends="gtk+3.0-dev exo-dev garcon-dev xfce4-panel-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/2.2/xfce4-whiskermenu-plugin-$pkgver.tar.bz2"
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
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="e5b8ab54b66397d0d956d0ddcf7ab9c7531936fa7413094d4cae99aca8f7fca4659012beceec06c9bd6f1ba7695a3e0955d1fd2f10ebf08cf5701224a5dbeb18 xfce4-whiskermenu-plugin-2.2.1.tar.bz2"
|