diff --git a/srcpkgs/sxhkd-git/template b/srcpkgs/sxhkd-git/template index 4da1abcfcc9..d5802275c07 100644 --- a/srcpkgs/sxhkd-git/template +++ b/srcpkgs/sxhkd-git/template @@ -1,32 +1,30 @@ # Template file for 'sxhkd-git' pkgname=sxhkd-git -version=20131221 +version=20131230 revision=1 +build_style=gnu-makefile makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel" short_desc="Simple X HotKey Daemon" maintainer="Ypnose " license="BSD" homepage="https://github.com/baskerville/sxhkd" - do_fetch() { local url="git://github.com/baskerville/sxhkd" msg_normal "Fetching source from $url ...\n" git clone ${url} ${pkgname}-${version} } -do_build() { +pre_build() { sed -i 's/LIBS =/LIBS +=/g' Makefile - make CC=$CC INCS="-I." ${makejobs} } -do_install() { - make PREFIX=/usr DESTDIR=$DESTDIR install +post_install() { vinstall LICENSE 644 usr/share/licenses/$pkgname } sxhkd-git_package() { pkg_install() { - vmove usr + vmove all } }