void-packages/srcpkgs/sxhkd-git/template
2014-05-31 13:27:29 +02:00

26 lines
654 B
Text

# Template file for 'sxhkd-git'
pkgname=sxhkd-git
version=20140531
revision=2
build_style=gnu-makefile
makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel"
short_desc="Simple X HotKey Daemon"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD"
homepage="https://github.com/baskerville/sxhkd"
provides="sxhkd-${version}_${revision}"
replaces="sxhkd>=0"
do_fetch() {
local url="git://github.com/baskerville/sxhkd"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
sed -i 's/LIBS =/LIBS +=/g' Makefile
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/$pkgname
}