Name libxdamage
Description X11 damaged region extension library
Version 1.1.6-r5
Package Base libxdamage
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/libxdamage
Sources ['https://www.x.org/releases/individual/lib/libXdamage-1.1.6-r5.tar.xz']
Dependencies ['libX11.so.6', 'libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies ['xorgproto', 'libx11-dev', 'libxfixes-dev', 'util-macros']
Provides ['so:libXdamage.so.1=1.1.0']
Builddate 11-04-2024 23:39:10
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q1aLpEjtuYiSqGLRNwzIqRCQ5RDxE=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxdamage
pkgver=1.1.6
pkgrel=5
pkgdesc="X11 damaged region extension library"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check"  # No test suite.
makedepends="xorgproto libx11-dev libxfixes-dev util-macros"
subpackages="$pkgname-dev"
source="https://www.x.org/releases/individual/lib/libXdamage-$pkgver.tar.xz"
builddir="$srcdir"/libXdamage-$pkgver

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

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

sha512sums="
624dcefa1c79064569df952892f7f1351dc19ad338ce73d1a57041e406cb3e18abe531bab352b93d1f0f5c9b5c6b2652cc84a8f1fbfcbba648343812695a8acb  libXdamage-1.1.6.tar.xz
"