diff --git a/srcpkgs/x2x-git/template b/srcpkgs/x2x-git/template index 7c63aba558b..0efab73693c 100644 --- a/srcpkgs/x2x-git/template +++ b/srcpkgs/x2x-git/template @@ -1,25 +1,22 @@ # Template file for 'x2x-git' pkgname=x2x-git -version=20141123 -revision=2 +version=20150531 +revision=1 +_githash=375bf431aac5675352a16b516d42ed67dd1a3b3c +wrksrc="x2x-${_githash}" build_style=gnu-configure -hostmakedepends="git automake pkg-config" +hostmakedepends="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/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} -} +homepage="https://github.com/dottedmag/x2x" +distfiles="https://github.com/dottedmag/x2x/archive/${_githash}.tar.gz" +checksum=650c1f46b812b2e9beef032d86b20171a8e6d74354f59d1a0163d8a2882749a1 pre_configure() { sh bootstrap.sh } - post_install() { vlicense COPYING mv $DESTDIR/usr/share/doc/{x2x,$pkgname}