aboutsummaryrefslogtreecommitdiffstats
path: root/main/libwnck/APKBUILD
blob: db9e905bee3c5a614caa3e9ce8ef0176c28c32f3 (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
# 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="pkgconfig gtk+-dev  startup-notification-dev  libxres-dev intltool
	gettext-dev libiconv-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
build() {
	cd "$_builddir"
	./configure --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"