void-packages/srcpkgs/swm/template

22 lines
562 B
Bash
Raw Normal View History

2014-12-26 16:29:13 +01:00
# Template file for 'swm'
pkgname=swm
version=1.0
revision=1
makedepends="libxcb-devel"
build_style=gnu-makefile
short_desc="A simple window manager"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="Public Domain"
homepage="https://github.com/dcat/swm"
distfiles="https://github.com/dcat/${pkgname}/archive/v${version}.tar.gz"
checksum=f0b9b3616f7499a0a7ba0c284e7905ba640626cdc93d33b83a6bcfb781fe1ad0
wrksrc="${pkgname}-${version}"
pre_build() {
sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
sed -i 's| -L/usr/X11R6/lib||g' Makefile
}
do_install() {
vbin swm
}