diff options
author | root <root@rshg054.dnsready.net> | 2012-08-16 00:02:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-16 00:02:36 +0000 |
commit | 0fc1870f2eadde8cb06004be1cbe8d1a4333aa69 (patch) | |
tree | 09ae142c72b3ef3bba14bcd0fbd982446585d894 /community/synergy/PKGBUILD | |
parent | 8f1eb849d6de0031d4d91fb6d8780828b1ba924b (diff) |
Thu Aug 16 00:02:36 UTC 2012
Diffstat (limited to 'community/synergy/PKGBUILD')
-rw-r--r-- | community/synergy/PKGBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/community/synergy/PKGBUILD b/community/synergy/PKGBUILD index eb02f0ce2..83e351a94 100644 --- a/community/synergy/PKGBUILD +++ b/community/synergy/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Dale Blount <dale@archlinux.org> pkgname=synergy -pkgver=1.4.6 +pkgver=1.4.10 pkgrel=1 pkgdesc="Share a single mouse and keyboard between multiple computers" url="http://synergy-foss.org" @@ -12,7 +12,8 @@ depends=('gcc-libs' 'libxtst' 'libxinerama' ) license=('GPL2') makedepends=('libxt' 'cmake') # used by configure to test for libx11... backup=('etc/synergy.conf') -source=("http://synergy.googlecode.com/files/$pkgname-$pkgver-Source.tar.gz" "${pkgname}s.rc" ) +source=("http://synergy.googlecode.com/files/$pkgname-$pkgver-Source.tar.gz" "${pkgname}s.rc" "synergys.socket" "synergys.service") + build() { cd "${srcdir}/${pkgname}-${pkgver}-Source" @@ -24,7 +25,7 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}-Source/bin" -# make DESTDIR="$pkgdir" install # doesn't work atm + #make DESTDIR="$pkgdir" install # doesn't work atm # install binary install -d "$pkgdir/usr/bin/" @@ -35,6 +36,13 @@ package() { install -d "${pkgdir}/etc/rc.d" install -Dm644 $srcdir/$pkgname-$pkgver-Source/doc/${pkgname}.conf.example "${pkgdir}/etc" install -Dm755 $srcdir/${pkgname}s.rc "${pkgdir}/etc/rc.d/${pkgname}s" + + # Install systemd service and socket + install -d "$pkgdir/usr/lib/systemd/system" + install -Dm644 "$srcdir/synergys.service" "$pkgdir/usr/lib/systemd/system/" + install -Dm644 "$srcdir/synergys.socket" "$pkgdir/usr/lib/systemd/system/" } -md5sums=('3e1ecc4fcbfe6b130ac0c86c674f6db3' - '8f8c01add9bf6e3ae9f37a36ca6345b6') +md5sums=('18aee04a7e232e4d821f46ff24da3364' + '8f8c01add9bf6e3ae9f37a36ca6345b6' + '58f48336836d6faf3d5eecbe4155b77e' + 'b95e4b83d8a19c0bd81a15280078fcd5') |