void-packages/srcpkgs/xsnow/template

24 lines
721 B
Bash

# Template file for 'xsnow'
pkgname=xsnow
version=1.42
revision=1
hostmakedepends="imake xorg-cf-files"
makedepends="libXext-devel libXpm-devel libXt-devel"
short_desc="Snow for your X11 sessions"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="xsnow"
homepage="https://janswaal.home.xs4all.nl/Xsnow"
distfiles="https://janswaal.home.xs4all.nl/Xsnow/${pkgname}-${version}.tar.gz"
checksum=d0d7c8f1fb91ca096995b1c30797e8f443c2e97d6f1e5f574b31318ed05d561a
repository=nonfree
nocross=yes # imake crashes?
do_build() {
xmkmf
make CC=$CC CDEBUGFLAGS="-D_DEFAULT_SOURCE ${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
}
do_install() {
make MANSUFFIX=1 DESTDIR=${DESTDIR} install install.man
vlicense README
}