mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
35 lines
1,001 B
Bash
35 lines
1,001 B
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.7.2
|
|
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')
|
|
makedepends=('cmake' 'ninja')
|
|
source=("https://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
|
|
sha256sums=('158571a510a973a68a8b18611a0611b37bae1dda548ef953210ca8f94a3ff98b')
|
|
|
|
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
|
|
}
|