void-packages/srcpkgs/wmname/template

22 lines
578 B
Bash

# Template file for 'wmname'
pkgname=wmname
version=0.1
revision=5
build_style=gnu-makefile
makedepends="libX11-devel"
short_desc="Change the window manager name"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.suckless.org/"
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
checksum=559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5
post_install() {
vlicense LICENSE
}
do_build() {
sed -e '/strip/d' -i Makefile
make CC=$CC INCS=-I. LDFLAGS="-lX11 $LDFLAGS" CFLAGS="$CFLAGS -DVERSION=\\\"$version\\\""
}