diff --git a/srcpkgs/xsnow/template b/srcpkgs/xsnow/template new file mode 100644 index 00000000000..ca326e6211d --- /dev/null +++ b/srcpkgs/xsnow/template @@ -0,0 +1,23 @@ +# 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 " +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 +}