diff --git a/srcpkgs/cwm-git/template b/srcpkgs/cwm-git/template index e9ada65771..bf71094287 100644 --- a/srcpkgs/cwm-git/template +++ b/srcpkgs/cwm-git/template @@ -1,7 +1,8 @@ # Template file for 'cwm-git' pkgname=cwm-git -version=20131221 +version=20131230 revision=1 +build_style=gnu-makefile hostmakedepends="pkg-config bison" makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel" short_desc="Lightweight and efficient window manager for X11" @@ -15,14 +16,13 @@ do_fetch() { git clone ${url} ${pkgname}-${version} } -do_build() { +pre_build() { sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile - make CC=$CC ${makejobs} } -do_install() { - make PREFIX=/usr DESTDIR=$DESTDIR install +post_install() { + vinstall README 644 usr/share/doc/${pkgname} } cwm-git_package() {