# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xcompmgr
pkgver=1.1.8
pkgrel=0
pkgdesc="Small compositing manager for X11"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libxcomposite-dev libxdamage-dev libxext-dev libxfixes-dev
	libxrender-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/app/xcompmgr-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="ccf29426ffb0797a53653d1ce152de5eee0cec284811fed4b8e634ea0d948180531e4619d96f47e4f9594432c57322624fe0fdaee2c9200efac427fc0904953d  xcompmgr-1.1.8.tar.bz2"