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
|
2023-11-10 13:44:54 +00:00
|
|
|
pkgver=2.8.1
|
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')
|
2023-08-29 20:18:05 +00:00
|
|
|
depends=('accountsservice' 'garcon' 'gtk3' 'gtk-layer-shell' 'xfce4-panel')
|
2020-02-12 00:46:44 +00:00
|
|
|
makedepends=('cmake' 'ninja')
|
2023-01-18 00:25:21 +00:00
|
|
|
source=("https://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
|
2023-11-10 13:44:54 +00:00
|
|
|
sha256sums=('e4b93dba818ee6f63037d2a49b9c29e2832e76991508d39e3db6e1b405c2f39f')
|
2020-02-12 00:46:44 +00:00
|
|
|
|
|
|
|
build() {
|
2023-08-29 20:18:05 +00:00
|
|
|
cmake -B build -S "${srcdir}/${pkgname}-${pkgver}" \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DENABLE_LINK_TIME_OPTIMIZATION=off \
|
|
|
|
-GNinja
|
|
|
|
cmake --build build
|
2020-02-12 00:46:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-08-29 20:18:05 +00:00
|
|
|
DESTDIR="${pkgdir}" cmake --install build
|
2020-02-12 00:46:44 +00:00
|
|
|
}
|