void-packages/srcpkgs/wmname/template
2016-02-25 10:54:59 +01:00

17 lines
539 B
Bash

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