void-packages/srcpkgs/swm/template
2015-05-30 09:09:09 +02:00

20 lines
518 B
Bash

# Template file for 'swm'
pkgname=swm
version=1.0
revision=2
makedepends="libxcb-devel"
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
do_build() {
sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
sed -i 's| -L/usr/X11R6/lib||g' Makefile
make CC=$CC
}
do_install() {
vbin swm
}