void-packages/srcpkgs/xsnow/template
2021-08-22 16:38:22 +07:00

24 lines
705 B
Bash

# Template file for 'xsnow'
pkgname=xsnow
version=1.42
revision=3
hostmakedepends="imake xorg-cf-files"
makedepends="libXext-devel libXpm-devel libXt-devel"
short_desc="Snow for your X11 sessions"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="custom: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
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
}