# Template build file for 'libXScrnSaver'.
pkgname=libXScrnSaver
version=1.2.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xextproto scrnsaverproto libX11-devel libXext-devel"
short_desc="X11 Screen Saver Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d
long_desc="
 This package contains the library for the X11 Screen Saver extension.
 This is from the modular X.org X11 project."

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