2013-08-12 19:45:21 +02:00
|
|
|
# Template file for 'sxhkd-git'
|
|
|
|
pkgname=sxhkd-git
|
2014-05-31 12:09:07 +02:00
|
|
|
version=20140531
|
2014-05-31 13:27:29 +02:00
|
|
|
revision=2
|
2013-12-30 18:39:14 +01:00
|
|
|
build_style=gnu-makefile
|
2013-08-12 19:45:21 +02: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"
|
2014-05-31 13:27:29 +02:00
|
|
|
provides="sxhkd-${version}_${revision}"
|
|
|
|
replaces="sxhkd>=0"
|
2013-08-12 19:45:21 +02:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/baskerville/sxhkd"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-12-30 18:39:14 +01:00
|
|
|
pre_build() {
|
2013-08-12 19:45:21 +02:00
|
|
|
sed -i 's/LIBS =/LIBS +=/g' Makefile
|
|
|
|
}
|
|
|
|
|
2013-12-30 18:39:14 +01:00
|
|
|
post_install() {
|
2013-08-12 19:45:21 +02:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
|
|
}
|