aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tint2/APKBUILD
blob: e33c105c04d7c69c46f991cda5d5d63a01082eb6 (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
# Contributor: mari (dot) hahn (at) wwu (dot) de
pkgname=tint2
pkgver=0.11
pkgrel=0
pkgdesc="tint2 is a simple panel/taskbar unintrusive and light"
url="http://code.google.com/p/tint2/"
arch="all"
license="GPL2"
depends="imlib2 glib pango cairo libxcomposite libxdamage libxinerama libxrandr gtk+"
depends_dev="cmake imlib2-dev glib-dev pango-dev cairo-dev libxcomposite-dev libxdamage-dev libxinerama-dev libxrandr-dev gtk+-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://tint2.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2"

_builddir="${srcdir}/${pkgname}-${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:PATH=/usr . || return 1
	make || return 1
}

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

md5sums="6fc5731e7425125fa84a2add5cef4bff  tint2-0.11.tar.bz2"
sha256sums="fe106e6a6057d2631abddde9f82d3fd4fb1985c4fb93f10d3886417a9e22471d  tint2-0.11.tar.bz2"
sha512sums="db88c17780d24b82badbedbce4518d736dfcb2a730ff500bcb36f2b32f65271c2424f0c2a34981f9d3af033b84252db0c8217e2dd7ca57f9a0eadbc98796115c  tint2-0.11.tar.bz2"