Name libxkbfile
Description X11 keyboard file manipulation library
Version 1.1.3-r0
Package Base libxkbfile
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/libxkbfile
Sources ['https://www.x.org/releases/individual/lib/libxkbfile-1.1.3-r0.tar.xz']
Dependencies ['libX11.so.6', 'libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies ['libx11-dev', 'util-macros']
Provides ['so:libxkbfile.so.1=1.0.2']
Builddate 08-02-2024 18:45:26
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q132g+9sn8uFSbffVmMJVpDFo/VZ8=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxkbfile
pkgver=1.1.3
pkgrel=0
pkgdesc="X11 keyboard file manipulation library"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
makedepends="libx11-dev util-macros"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/lib/libxkbfile-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	install -D -m644 COPYING \
		"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="
d80ac41f6fa3a1ffad77ea1f8f9d9542f0bd210d74b263802bc6e6c1594fe325b27f42b5454aeeb36352518963b1ed1fdbbad95d7db3690b2e36d54742b7c236  libxkbfile-1.1.3.tar.xz
"