blob: 2b0aa8cd0663136e93bf4d432ea6636d3762fe77 (
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.0
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-$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="32fcbf16931038c10b1b7a7ccc392132 xfce4-whiskermenu-plugin-1.5.0-src.tar.bz2"
sha256sums="da82bdbc899a9935b560323aac9037d44f37fb110509b80ec293196722671851 xfce4-whiskermenu-plugin-1.5.0-src.tar.bz2"
sha512sums="2cfbade2926fc7ff936ae2d5be2ef1d6a49e9ffc79fc9d9b78ba75070b70e7978ce4ae20df08b7d1089f016741231be029f92cd4b53cbaf7dfec08c97ad60028 xfce4-whiskermenu-plugin-1.5.0-src.tar.bz2"
|