diff --git a/srcpkgs/x2x-git/template b/srcpkgs/x2x-git/template new file mode 100644 index 00000000000..289616ed5f2 --- /dev/null +++ b/srcpkgs/x2x-git/template @@ -0,0 +1,27 @@ +# 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 " +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*} +}