aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-whiskermenu-plugin/APKBUILD
blob: 21d434f0fbba1645535b428704f666b77bde56ef (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
45
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-whiskermenu-plugin
pkgver=1.5.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://mirror.netcologne.de/xfce/src/panel-plugins/xfce4-whiskermenu-plugin/${pkgver%.*}/xfce4-whiskermenu-plugin-$pkgver.tar.bz2"

_builddir="$srcdir"/xfce4-whiskermenu-plugin-$pkgver
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_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=Release \
		. || return 1
	make || return 1
}

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

md5sums="15187645e8be2c0d300714ce55c1a8d4  xfce4-whiskermenu-plugin-1.5.2.tar.bz2"
sha256sums="307cbfa532a28c5c753409aba0330c2da010047b8fc2d669e06f12bf17712e38  xfce4-whiskermenu-plugin-1.5.2.tar.bz2"
sha512sums="1d4c42161fb53e735420e881ba772ebf961e44e4e6b450a6510f7d3741c8c3759ddb345d56158824046eb401ca0078b155a0350835a7558e5ff80da30504944e  xfce4-whiskermenu-plugin-1.5.2.tar.bz2"