void-packages/srcpkgs/swm/template
2018-11-29 14:30:30 -02:00

20 lines
517 B
Bash

# Template file for 'swm'
pkgname=swm
version=1.0
revision=3
makedepends="libxcb-devel"
short_desc="A simple window manager"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
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
}