Name xcb-util-wm
Description X C-language Binding - helpers for ICCCM and EWMH
Version 0.4.2-r0
Package Base xcb-util-wm
Homepage https://xcb.freedesktop.org/
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/community/xcb-util-wm
Sources ['https://xcb.freedesktop.org/dist/xcb-util-wm-0.4.2-r0.tar.xz']
Dependencies ['libc.musl-x86_64.so.1', 'libxcb.so.1']
Optional-Dependencies []
Build-Dependencies ['$depends_dev', 'm4', 'util-macros']
Provides ['so:libxcb-ewmh.so.2=2.0.0', 'so:libxcb-icccm.so.4=4.0.0']
Builddate 03-01-2025 18:06:09
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q1/cL80SmDN4i5/eypg/lVQJy9Ukw=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-util-wm
pkgver=0.4.2
pkgrel=0
pkgdesc="X C-language Binding - helpers for ICCCM and EWMH"
url="https://xcb.freedesktop.org/"
arch="all"
license="MIT"
depends_dev="xcb-util-dev"
makedepends="$depends_dev m4 util-macros"
checkdepends="check"
replaces="xcb-util"
subpackages="$pkgname-dev"
source="https://xcb.freedesktop.org/dist/xcb-util-wm-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
eab6588e6a47d28a3b25ecd13b5018529419db6b49c74458c093699b60a194933be1e1f6f7799abf03344f7ebc7af88586ff2935938d53644bdd5c763a7fa9b0  xcb-util-wm-0.4.2.tar.xz
"