diff --git a/srcpkgs/snapwm/template b/srcpkgs/snapwm/template new file mode 100644 index 00000000000..a1bbd9c78c2 --- /dev/null +++ b/srcpkgs/snapwm/template @@ -0,0 +1,23 @@ +# Template file for 'snapwm' +pkgname=snapwm +version=2.0.2 +revision=1 +wrksrc=${pkgname}-stable-${version} +build_style=gnu-makefile +makedepends="libX11-devel libXinerama-devel libXrandr-devel" +short_desc="A minimal and lightweight dynamic tiling window manager" +maintainer="Diogo Leal " +license="MIT" +homepage="https://github.com/moetunes/snapwm-stable" +distfiles="https://github.com/moetunes/snapwm-stable/archive/v${version}.tar.gz" +checksum=ee9423c542bf5c083b58126dd4f71695dbd4e5a7347e10db3504ccddf1bc8256 +CFLAGS="-std=c99" + +post_install() { + head -20 snapwm.c > LICENSE + vlicense LICENSE + vdoc README.md + vdoc sample.apps.conf + vdoc sample.key.conf + vdoc sample.rc.conf +}