summaryrefslogtreecommitdiff
path: root/user/libwnck/APKBUILD
blob: 95faa553948a04e0101a9ac878a318c8ae434335 (plain) (blame)
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
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=libwnck
pkgver=3.32.0
_pkgmaj=${pkgver%.*}
pkgrel=1
pkgdesc="Window navigator construction kit library from Gnome"
url="https://gnome.org"
arch="all"
license="LGPL-2.0+"
makedepends="glib-dev gtk+3.0-dev gobject-introspection-dev libxres-dev
	startup-notification-dev vala-dev meson ninja"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/libwnck/$_pkgmaj/libwnck-$pkgver.tar.xz"

prepare() {
	default_prepare
	mkdir -p "$builddir"/build
}

build() {
	cd "$builddir"/build
	meson \
		-Dprefix=/usr \
		..
	ninja
}

check() {
	cd "$builddir"/build
	ninja test
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" ninja install
}

sha512sums="a939b96feda20b0eba2b87556b97a9ba4b9aaea4c82c0e274a23796a3a9b49cb93be582d79e32a52a87b5ca6e35182a9d617cb802802b3c2ba2bff2b028aa3de  libwnck-3.32.0.tar.xz"