void-packages/srcpkgs/libXScrnSaver/template

31 lines
786 B
Bash

# Template file for 'libXScrnSaver'
pkgname=libXScrnSaver
version=1.2.4
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="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
checksum=75cd2859f38e207a090cac980d76bc71e9da99d48d09703584e00585abc920fe
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
}
}