void-packages/srcpkgs/libXScrnSaver/template

31 lines
787 B
Bash

# Template file for 'libXScrnSaver'
pkgname=libXScrnSaver
version=1.2.3
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel libXext-devel"
short_desc="X11 Screen Saver Library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8
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
}
}