mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
894 B
Bash
26 lines
894 B
Bash
# $Id: PKGBUILD 30643 2009-03-21 04:33:34Z allan $
|
|
# Maintainer: Dale Blount <dale@archlinux.org>
|
|
|
|
pkgname=synergy
|
|
pkgver=1.3.1
|
|
pkgrel=3
|
|
pkgdesc="share a single mouse and keyboard between multiple pcs"
|
|
arch=('i686' 'x86_64')
|
|
depends=(gcc-libs libxtst libsm libxinerama)
|
|
makedepends=(libxt) # used by configure to test for libx11...
|
|
backup=(etc/synergy.conf)
|
|
url="http://synergy2.sourceforge.net/"
|
|
source=(http://downloads.sourceforge.net/sourceforge/synergy2/$pkgname-$pkgver.tar.gz
|
|
gcc43.patch)
|
|
license=('GPL2')
|
|
md5sums=('a6e09d6b71cb217f23069980060abf27')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i "${srcdir}/gcc43.patch" || return 1
|
|
./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
|
|
}
|