void-packages/srcpkgs/x2x-git/template

25 lines
750 B
Bash

# Template file for 'x2x-git'
pkgname=x2x-git
version=20170207
revision=1
_githash=5382754abfedf5aa77cbbbac0129ccd7bb29b17c
wrksrc="x2x-${_githash}"
build_style=gnu-configure
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 <chneukirchen@gmail.com>"
license="custom"
homepage="https://github.com/dottedmag/x2x"
distfiles="${homepage}/archive/${_githash}.tar.gz"
checksum=4ac2ce04656c916588983f37071a9579f1ff01f968a1340abc9fa3e53ea07244
pre_configure() {
sh bootstrap.sh
}
post_install() {
vlicense COPYING
mv $DESTDIR/usr/share/doc/{x2x,$pkgname}
rm $DESTDIR/usr/share/doc/$pkgname/{ChangeLog*,COPYING*}
}