aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-whiskermenu-plugin/APKBUILD
blob: b792b8408232fa0b30673ddfc03c57ea1562b143 (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.0
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="c4dbf7b45d6dca59b0034dbe995ada5f51a09588d2dddbcb940c8c7af0975ebad066763534ac93e65896551e1a9b10459308a4b2f38772fb28d5d7ceabec043d  xfce4-whiskermenu-plugin-2.3.0.tar.bz2"