Name libxau
Description X11 authorisation library
Version 1.0.12-r0
Package Base libxau
Homepage https://xorg.freedesktop.org/
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/libxau
Sources ['https://www.x.org/releases/individual/lib/libXau-1.0.12-r0.tar.xz']
Dependencies ['libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies ['meson', 'xorgproto', 'util-macros']
Provides ['so:libXau.so.6=6.0.0']
Builddate 19-12-2024 18:05:35
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q1Cx/EtYjxHhWsszNEhJp5ext2sZY=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxau
pkgver=1.0.12
pkgrel=0
pkgdesc="X11 authorisation library"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
makedepends="meson xorgproto util-macros"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/lib/libXau-$pkgver.tar.xz"

builddir="$srcdir"/libXau-$pkgver

build() {
	abuild-meson \
		output .
	meson compile -C output
}

check() {
	meson test --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="
4bbe8796f4a14340499d5f75046955905531ea2948944dfc3d6069f8b86c1710042bfc7918d459320557883e6631359d48e6173c69c62ff572314e864ff97c5e  libXau-1.0.12.tar.xz
"