mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
# 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
|
|
pkgver=2.8.2
|
|
pkgrel=1
|
|
pkgdesc='Menu for Xfce4'
|
|
arch=('x86_64')
|
|
url='https://gottcode.org/xfce4-whiskermenu-plugin/'
|
|
groups=('xfce4-goodies')
|
|
license=('GPL2')
|
|
depends=('accountsservice' 'garcon' 'gtk3' 'gtk-layer-shell' 'xfce4-panel')
|
|
makedepends=('cmake' 'ninja')
|
|
source=("https://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
|
|
sha256sums=('cbff8325999a20194e0bbce6f4d3d568ce06704d2b79acd9547d6c90aa083e70')
|
|
|
|
build() {
|
|
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
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="${pkgdir}" cmake --install build
|
|
}
|