void-packages/srcpkgs/sxhkd-git/template

25 lines
594 B
Text
Raw Normal View History

2013-08-12 17:45:21 +00:00
# Template file for 'sxhkd-git'
pkgname=sxhkd-git
2014-04-14 18:31:31 +00:00
version=20140414
2013-08-12 17:45:21 +00:00
revision=1
build_style=gnu-makefile
2013-08-12 17:45:21 +00:00
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"
do_fetch() {
local url="git://github.com/baskerville/sxhkd"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
2013-08-12 17:45:21 +00:00
sed -i 's/LIBS =/LIBS +=/g' Makefile
}
post_install() {
2013-08-12 17:45:21 +00:00
vinstall LICENSE 644 usr/share/licenses/$pkgname
}