summaryrefslogtreecommitdiffstats
path: root/testing/xfce4-whiskermenu-plugin/APKBUILD
blob: 292b32eed2ef47dcf340eb18f2778e5b2b9a10a9 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-whiskermenu-plugin
pkgver=1.3.2
pkgrel=0
pkgdesc="alternate application launcher for Xfce"
url="http://gottcode.org/xfce4-whiskermenu-plugin/"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev cmake libxfce4ui-dev libxfce4util-dev exo-dev
	garcon-dev xfce4-panel-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://gottcode.org/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-$pkgver-src.tar.bz2"

_builddir="$srcdir"/xfce4-whiskermenu-plugin-1.3.2
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		. || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make install DESTDIR="$pkgdir" || return 1
}

md5sums="f4de7546588952f84df8a4ad3552c526  xfce4-whiskermenu-plugin-1.3.2-src.tar.bz2"
sha256sums="a104b2266675a3ea3c7b98aab7b075a351d813ea29098504031a62f365e5a0fc  xfce4-whiskermenu-plugin-1.3.2-src.tar.bz2"
sha512sums="b6c967cf6d1ddb90040610f22380b20b409cbe45cd6f44ef9acabd42a7d2268a6969d5d7d87ccc191948080fb330af5855c5a37aca76a40fa4d6822d5c943516  xfce4-whiskermenu-plugin-1.3.2-src.tar.bz2"