diff --git a/srcpkgs/swm/template b/srcpkgs/swm/template new file mode 100644 index 00000000000..fbe2191411c --- /dev/null +++ b/srcpkgs/swm/template @@ -0,0 +1,22 @@ +# 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 " +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 +} \ No newline at end of file