summaryrefslogtreecommitdiff
path: root/user/libwnck/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-06 21:38:57 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-06 21:38:57 +0000
commit8f8a0eb8788f35c1ca5db3730bcc10535934c05e (patch)
tree9fb43a334a0c10b0c9a7167fb056d56892684cf1 /user/libwnck/APKBUILD
parentad24c013617b1481d0830fafd0555f6a02cd199f (diff)
downloadpackages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.gz
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.bz2
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.xz
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.zip
user/*: Modernise / fix syntax / deps etc
Diffstat (limited to 'user/libwnck/APKBUILD')
-rw-r--r--user/libwnck/APKBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/user/libwnck/APKBUILD b/user/libwnck/APKBUILD
index 95faa5539..5eb5e4e81 100644
--- a/user/libwnck/APKBUILD
+++ b/user/libwnck/APKBUILD
@@ -13,27 +13,19 @@ makedepends="glib-dev gtk+3.0-dev gobject-introspection-dev libxres-dev
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
+ build .
+ ninja -C build
}
check() {
- cd "$builddir"/build
- ninja test
+ ninja -C build test
}
package() {
- cd "$builddir"/build
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="a939b96feda20b0eba2b87556b97a9ba4b9aaea4c82c0e274a23796a3a9b49cb93be582d79e32a52a87b5ca6e35182a9d617cb802802b3c2ba2bff2b028aa3de libwnck-3.32.0.tar.xz"