2020-02-12 00:46:44 +00:00
|
|
|
# Maintainer: Brad Fanella <cesura@archlinux.org>
|
|
|
|
# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
|
|
|
|
# Contributor: Graeme Gott <graeme@gottcode.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - cmake with -DENABLE_LINK_TIME_OPTIMIZATION=off
|
|
|
|
|
|
|
|
pkgname=xfce4-whiskermenu-plugin
|
2021-11-21 22:30:33 +00:00
|
|
|
pkgver=2.7.0
|
2020-03-12 00:18:32 +00:00
|
|
|
pkgrel=1
|
2020-02-12 00:46:44 +00:00
|
|
|
pkgdesc='Menu for Xfce4'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://gottcode.org/xfce4-whiskermenu-plugin/'
|
|
|
|
groups=('xfce4-goodies')
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('garcon' 'xfce4-panel' 'gtk3>=3.22')
|
|
|
|
makedepends=('cmake' 'ninja')
|
2020-03-12 00:18:32 +00:00
|
|
|
source=("https://archive.be.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/${pkgver%.*}/xfce4-whiskermenu-plugin-$pkgver.tar.bz2")
|
2021-11-21 22:30:33 +00:00
|
|
|
sha256sums=('f044056c5325e878873a3a574a65f7c8d3dce2666a0b8345b1eca35bef29dc11')
|
2020-02-12 00:46:44 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
cmake "$srcdir/$pkgname-$pkgver" \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DENABLE_LINK_TIME_OPTIMIZATION=off \
|
|
|
|
-GNinja
|
|
|
|
ninja
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" ninja -C build install
|
|
|
|
}
|