void-packages/srcpkgs/sxhkd-git/template

35 lines
729 B
Text
Raw Normal View History

2013-08-12 17:45:21 +00:00
# Template file for 'sxhkd-git'
pkgname=sxhkd-git
2013-08-26 10:48:05 +00:00
version=20130826
2013-08-12 17:45:21 +00:00
revision=1
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"
nofetch=yes
noextract=yes
do_fetch() {
local url="git://github.com/baskerville/sxhkd"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_build() {
sed -i 's/LIBS =/LIBS +=/g' Makefile
make CC=$CC INCS="-I." ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vinstall LICENSE 644 usr/share/licenses/$pkgname
}
sxhkd-git_package() {
pkg_install() {
vmove usr
}
}