extra/xfce4-whiskermenu-plugin to 2.8.3-2

This commit is contained in:
Kevin Mihelich 2024-09-21 00:45:18 +00:00
parent 340edcc4a1
commit 59d474f25d
3 changed files with 24 additions and 17 deletions

View file

@ -1,19 +1,20 @@
pkgbase = xfce4-whiskermenu-plugin pkgbase = xfce4-whiskermenu-plugin
pkgdesc = Menu for Xfce4 pkgdesc = Menu for Xfce4
pkgver = 2.8.3 pkgver = 2.8.3
pkgrel = 1 pkgrel = 2
url = https://gottcode.org/xfce4-whiskermenu-plugin/ url = https://docs.xfce.org/panel-plugins/xfce4-whiskermenu-plugin/start
arch = x86_64 arch = x86_64
groups = xfce4-goodies groups = xfce4-goodies
license = GPL2 license = GPL-2.0-or-later
makedepends = cmake makedepends = cmake
makedepends = git
makedepends = ninja makedepends = ninja
depends = accountsservice depends = accountsservice
depends = garcon depends = garcon
depends = gtk3 depends = gtk3
depends = gtk-layer-shell depends = gtk-layer-shell
depends = xfce4-panel depends = xfce4-panel
source = https://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/2.8/xfce4-whiskermenu-plugin-2.8.3.tar.bz2 source = git+https://gitlab.xfce.org/panel-plugins/xfce4-whiskermenu-plugin.git#tag=v2.8.3
sha256sums = e776c287658f98d0739447279522fe78766088438242cf2365a49c8973fc9cd0 sha256sums = cdd4e512be94fc83fdf30578826075adfc1f3c96aea520121d0741665965f7df
pkgname = xfce4-whiskermenu-plugin pkgname = xfce4-whiskermenu-plugin

View file

@ -0,0 +1,4 @@
[xfce4-whiskermenu-plugin]
source = "git"
git = "https://gitlab.xfce.org/panel-plugins/xfce4-whiskermenu-plugin.git"
prefix = "v"

View file

@ -1,4 +1,5 @@
# Maintainer: Brad Fanella <cesura@archlinux.org> # Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: Brad Fanella <cesura@archlinux.org>
# Contributor: Alexander F Rødseth <xyproto@archlinux.org> # Contributor: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Graeme Gott <graeme@gottcode.org> # Contributor: Graeme Gott <graeme@gottcode.org>
@ -7,24 +8,25 @@
pkgname=xfce4-whiskermenu-plugin pkgname=xfce4-whiskermenu-plugin
pkgver=2.8.3 pkgver=2.8.3
pkgrel=1 pkgrel=2
pkgdesc='Menu for Xfce4' pkgdesc='Menu for Xfce4'
arch=('x86_64') arch=('x86_64')
url='https://gottcode.org/xfce4-whiskermenu-plugin/' url='https://docs.xfce.org/panel-plugins/xfce4-whiskermenu-plugin/start'
license=('GPL-2.0-or-later')
groups=('xfce4-goodies') groups=('xfce4-goodies')
license=('GPL2')
depends=('accountsservice' 'garcon' 'gtk3' 'gtk-layer-shell' 'xfce4-panel') depends=('accountsservice' 'garcon' 'gtk3' 'gtk-layer-shell' 'xfce4-panel')
makedepends=('cmake' 'ninja') makedepends=('cmake' 'git' 'ninja')
source=("https://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2") source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-whiskermenu-plugin.git#tag=v${pkgver}")
sha256sums=('e776c287658f98d0739447279522fe78766088438242cf2365a49c8973fc9cd0') sha256sums=('cdd4e512be94fc83fdf30578826075adfc1f3c96aea520121d0741665965f7df')
build() { build() {
cmake -B build -S "${srcdir}/${pkgname}-${pkgver}" \ cmake -B build -S "${pkgname}" \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR='lib' \
-DENABLE_LINK_TIME_OPTIMIZATION=off \ -DENABLE_LINK_TIME_OPTIMIZATION=off \
-GNinja -GNinja \
-Wno-dev
cmake --build build cmake --build build
} }