void-packages/srcpkgs/x2x-git/template

28 lines
717 B
Text
Raw Normal View History

2014-07-12 18:16:26 +00:00
# Template file for 'x2x-git'
pkgname=x2x-git
2014-11-23 13:23:43 +00:00
version=20141123
2014-07-12 18:16:26 +00:00
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"
2014-11-23 13:23:43 +00:00
homepage="https://github.com/jashandeep-sohi/x2x"
2014-07-12 18:16:26 +00:00
2014-11-23 13:23:43 +00:00
do_fetch() {
2014-07-12 18:16:26 +00:00
local url="git://github.com/jashandeep-sohi/x2x.git"
msg_normal "Fetching source from $url ...\n"
2014-11-23 13:23:43 +00:00
git clone ${url} ${pkgname}-${version}
2014-07-12 18:16:26 +00:00
}
pre_configure() {
sh bootstrap.sh
}
post_install() {
vlicense COPYING
mv $DESTDIR/usr/share/doc/{x2x,$pkgname}
rm $DESTDIR/usr/share/doc/$pkgname/{ChangeLog*,COPYING*}
}