# Template build file for 'libXfixes'.
pkgname=libXfixes
version=5.0.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xproto xextproto fixesproto libX11-devel"
short_desc="Xfixes library and extension of X RandR from modular X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="${XORG_SITE}"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=63bec085084fa3caaee5180490dd871f1eb2020ba9e9b39a30f93693ffc34767
long_desc="
 The X Fixes Extension provides workarounds for various limitations
 in the core protocol.  The extension is designed to hold various
 vaguely related extension bits that change how the X server and
 clients interact with fundamental parts of the window system."

libXfixes-devel_package() {
	depends="xproto fixesproto libX11-devel libXfixes>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove usr/share
	}
}

libXfixes_package() {
	pkg_install() {
		vmove usr
	}
}
