New package: x2x-git-20140712

This commit is contained in:
Christian Neukirchen 2014-07-12 20:16:26 +02:00
parent 3427dc7b4d
commit 318cf0b64b
1 changed files with 27 additions and 0 deletions

27
srcpkgs/x2x-git/template Normal file
View File

@ -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 <chneukirchen@gmail.com>"
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*}
}