aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libwnck3/APKBUILD
blob: ade6bffa26501e414bd5410ace9ecb3f7960fadc (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributer: Sergey Lukin <sergej.lukin@gmail.com>
pkgname=libwnck3
pkgver=3.14.0
pkgrel=1
pkgdesc="Window Navigator Construction Kit"
url="https://git.gnome.org/browse/libwnck"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
replaces="libwnck"
depends_dev="glib-dev gtk+3.0-dev libx11-dev pango-dev cairo-dev
	startup-notification-dev libxres-dev"
makedepends="$depends_dev intltool"
source="http://ftp.gnome.org/pub/gnome/sources/libwnck/${pkgver%.*}/libwnck-$pkgver.tar.xz"

_builddir="$srcdir"/libwnck-$pkgver

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="4538672e0d775fadedf10abeb8020047  libwnck-3.14.0.tar.xz"
sha256sums="f5080076346609b4c36394b879f3a86b92ced3b90a37cb54c8e9a14f00e7921c  libwnck-3.14.0.tar.xz"
sha512sums="bf5953d06697b6f623f82fe3ab3158ad3a794712bf08822fe901023e740afe4b47cc026854707b77c0c63d38614133fbef589d62385a39b99ce7e8c66c8940be  libwnck-3.14.0.tar.xz"