void-packages/srcpkgs/snapwm/template

24 lines
695 B
Bash

# Template file for 'snapwm'
pkgname=snapwm
version=2.0.7
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 <diogo@diogoleal.com>"
license="MIT"
homepage="https://github.com/moetunes/snapwm-stable"
distfiles="https://github.com/moetunes/snapwm-stable/archive/v${version}.tar.gz"
checksum=2b188563b09873f2b6fc2ac2e8b9054a6ea9c2438bacbdaf84590539cabff373
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
}