aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-whiskermenu-plugin/APKBUILD
blob: c27dba9afcf00223d8a7f0f53bcbb509399c77dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-whiskermenu-plugin
pkgver=2.3.2
pkgrel=0
pkgdesc="Alternate application launcher for Xfce"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite
makedepends="cmake libxfce4ui-dev libxfce4util-dev exo-dev garcon-dev xfce4-panel-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/${pkgver%.*}/xfce4-whiskermenu-plugin-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=Release \
		.
	make
}

package() {
	cd "$builddir"
	make install LIBDIR=lib DESTDIR="$pkgdir"
}

sha512sums="2b9557b29d1b30b5d46df5f182d64562873defd59cd36e6444da4b73bbdf3835cfb17101f11a3ac6e9f875a9dc4d51e2301a420a888bfa1d7fdc6ae715d92443  xfce4-whiskermenu-plugin-2.3.2.tar.bz2"