void-packages/srcpkgs/x2x-git/template
2014-11-23 14:23:43 +01:00

27 lines
717 B
Bash

# Template file for 'x2x-git'
pkgname=x2x-git
version=20141123
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/jashandeep-sohi/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*}
}