summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libwnck/APKBUILD35
1 files changed, 18 insertions, 17 deletions
diff --git a/user/libwnck/APKBUILD b/user/libwnck/APKBUILD
index d722a9c53..a6e8bb5e1 100644
--- a/user/libwnck/APKBUILD
+++ b/user/libwnck/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libwnck
-pkgver=3.30.0
+pkgver=3.32.0
_pkgmaj=${pkgver%.*}
pkgrel=0
pkgdesc="Window navigator construction kit library from Gnome"
@@ -9,30 +9,31 @@ url="https://gnome.org"
arch="all"
license="LGPL-2.0+"
makedepends="glib-dev gtk+3.0-dev gobject-introspection-dev vala-dev
- startup-notification-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+ startup-notification-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"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
+ cd "$builddir"/build
+ meson \
+ -Dprefix=/usr \
+ ..
+ ninja
}
check() {
- cd "$builddir"
- make check
+ cd "$builddir"/build
+ ninja test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" ninja install
}
-sha512sums="79842e4645de828941ac030eeff9d232b18a51fe0d18baf5ceb2beaf897d328ee5bf3b297501e2b27e66c63d42f6546a7605a37c6d7d52ff76e9b2bc5c328128 libwnck-3.30.0.tar.xz"
+sha512sums="a939b96feda20b0eba2b87556b97a9ba4b9aaea4c82c0e274a23796a3a9b49cb93be582d79e32a52a87b5ca6e35182a9d617cb802802b3c2ba2bff2b028aa3de libwnck-3.32.0.tar.xz"