aboutsummaryrefslogtreecommitdiffstats
path: root/main/libwnck/APKBUILD
blob: 26b46a75db3b9384b950dbd89f1e55d19f14ce94 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libwnck
pkgver=2.30.7
pkgrel=2
pkgdesc="Window Navigator Construction Kit"
url="http://www.gnome.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
makedepends="gtk+-dev  startup-notification-dev  libxres-dev intltool
	gettext-dev expat-dev libsm-dev e2fsprogs-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

depends_dev="glib-dev gtk+-dev libx11-dev pango-dev cairo-dev 
	startup-notification-dev libxres-dev"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '*.la' -delete
}
md5sums="9bef4b8560acca78cd6f08a95039af9c  libwnck-2.30.7.tar.bz2"