desktop/synergy-plus/PKGBUILD
2010-09-10 15:16:04 +00:00

38 lines
1.1 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=synergy-plus
pkgver=1.3.4
pkgrel=2
pkgdesc="Share your mouse and keyboard between several computers"
arch=('i686' 'x86_64')
url="http://code.google.com/p/synergy-plus"
license=('GPL2')
depends=('libxtst' 'libsm' 'libxinerama')
source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz"
"synergys.rc")
md5sums=('2c565afe5f920d363eef38dd97449b73'
'056e59b1d04a66820ffa4b53e5ec20bc')
provides=('synergy')
replaces=('synergy')
conflicts=('synergy')
backup=('etc/synergy.conf')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -m755 -d "${pkgdir}/etc"
install -m644 examples/synergy.conf "${pkgdir}/etc/" || return 1
install -Dm755 ${srcdir}/synergys.rc ${pkgdir}/etc/rc.d/synergy || return 1
}