void-packages/srcpkgs/libXScrnSaver/template
2018-03-05 15:11:14 +01:00

29 lines
746 B
Bash

# Template build file for 'libXScrnSaver'.
pkgname=libXScrnSaver
version=1.2.2
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel libXext-devel"
short_desc="X11 Screen Saver Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d
post_install() {
vlicense COPYING
}
libXScrnSaver-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}