void-packages/srcpkgs/x2x-git/template

28 lines
715 B
Plaintext

# Template file for 'x2x-git'
pkgname=x2x-git
version=20140712
revision=1
build_style=gnu-configure
hostmakedepends="git automake pkg-config"
makedepends="libX11-devel libXext-devel libXtst-devel"
short_desc="Use mouse and keyboard from X display on another"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="https://github.com/dottedmag/x2x"
do_fetch() {
local url="git://github.com/jashandeep-sohi/x2x.git"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_configure() {
sh bootstrap.sh
}
post_install() {
vlicense COPYING
mv $DESTDIR/usr/share/doc/{x2x,$pkgname}
rm $DESTDIR/usr/share/doc/$pkgname/{ChangeLog*,COPYING*}
}