#Packager: Shador pkgname=synergy pkgver=1.3.8 pkgrel=1ab source=("http://synergy.googlecode.com/files/synergy-${pkgver}-Source.tar.gz") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" docs=("readme" "install" "copying" "changelog" "authors" "news") url='http://synergy-foss.org/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (an application dual-screen with two different computers" "Synergy lets you easily share a single mouse and keyboard between" "multiple computers with different operating systems, each with its own" "display, without special hardware." "Redirecting the mouse and keyboard is as simple as moving" "the mouse off the edge of your screen. Synergy also merges the" "clipboards of all the systems into one, allowing cut-and-paste between" "systems. Furthermore, it synchronizes screen savers so they all start" "and stop together and, if screen locking is enabled, only one screen" "requires a password to unlock them all." ) build() { set -e cd $startdir/src/$pkgname-$pkgver-Source ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --disable-debug \ --with-x \ --build=$arch-slackware-linux || return 1 find . -name 'Makefile' | xargs -r sed -e 's/-Werror//' -i make -j $numjobs || return 1 install -vd -m755 $startdir/pkg/usr/bin install -v -m755 bin/synergyc bin/synergys $startdir/pkg/usr/bin/ set +e }