extra/xfce4-whiskermenu-plugin to 2.8.0-1

This commit is contained in:
Kevin Mihelich 2023-08-29 20:18:05 +00:00
parent 5bc62e45df
commit 9a80d846cf

View file

@ -6,30 +6,28 @@
# - cmake with -DENABLE_LINK_TIME_OPTIMIZATION=off
pkgname=xfce4-whiskermenu-plugin
pkgver=2.7.3
pkgver=2.8.0
pkgrel=1
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')
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=('da2699ec9665388cf7fa1090088290f78245667fa6846ffca14116264a9fe6e9')
sha256sums=('bcf8035ee9080a955b7ad6f2da0fdefa4db283f9ce2d1717ad0faef5c23244e6')
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
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" ninja -C build install
DESTDIR="${pkgdir}" cmake --install build
}