void-packages/srcpkgs/xbindkeys/template

20 lines
749 B
Bash

# Template file for 'xbindkeys'
pkgname=xbindkeys
version=1.8.6
revision=3
build_style=gnu-configure
makedepends="pkg-config libX11-devel guile-devel guile gc-devel"
depends="guile"
short_desc="Launch shell commands with your keyboard or your mouse under X"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://www.nongnu.org/xbindkeys/xbindkeys.html"
distfiles="http://www.nongnu.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=6c0d18be19fc19ab9b4595edf3a23c0a6946c8a5eb5c1bc395471c8f9a710d18
if [ "$CROSS_BUILD" ]; then
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/guile/2.0"
configure_args="ac_cv_path_GUILE=${XBPS_CROSS_BASE}/usr/lib
ac_cv_path_GUILE_CONFIG=${XBPS_CROSS_BASE}/usr/bin/guile-config"
fi