aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xfdashboard/APKBUILD
blob: ad9e8f08c5457507306103da3d86134d7e0cb117 (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
46
47
48
49
50
# Maintainer: Sergey Lukin <sergej.lukin@gmail.com>
pkgname=xfdashboard
pkgver=0.4.0
pkgrel=0
pkgdesc="Maybe a Gnome shell like dashboard for Xfce"
url="http://goodies.xfce.org/projects/applications/xfdashboard/start"
arch="all"
license="GPLv2+"
depends=""
depends_dev="clutter-dev xfconf-dev garcon-dev gtk+3.0-dev libwnck3-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/apps/${pkgname}/${pkgver%.*}/xfdashboard-${pkgver}.tar.bz2"

_builddir="$srcdir"/xfdashboard-"$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"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

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

md5sums="39e4bfcdce2aa2dcb55019dbbb1dd4a2  xfdashboard-0.4.0.tar.bz2"
sha256sums="4016c97011bf7316c8e365f0f4ff753b8e4e74776f2b25e282efa7675965cb45  xfdashboard-0.4.0.tar.bz2"
sha512sums="d737a65ab27f0d6e49fd24ff7852bd2e00feebd3cce2c1ced5580bb5af1449fad0c593707686b6b83f4fd2e3d7cc318e0778ce404e53240dee53c6aeb9886df0  xfdashboard-0.4.0.tar.bz2"