summaryrefslogtreecommitdiffstats
path: root/main/libwnck/APKBUILD
blob: e48d923c4b7117dbca7aadde5f708d56e1b8af92 (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.6
pkgrel=2
pkgdesc="Window Navigator Construction Kit"
url="http://www.gnome.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
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="323127c546d4b6796ae569f3da0892ab  libwnck-2.30.6.tar.bz2"