[Frugalware-git] openjava: synergy-1.4.8-1-x86_64 * convert to use systemd schema

James Buren ryuo at frugalware.org
Sun Jun 17 13:34:41 CEST 2012


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=openjava.git;a=commitdiff;h=cbce693abe6775f2b7edfc63e10a29fa36d5b132

commit cbce693abe6775f2b7edfc63e10a29fa36d5b132
Author: James Buren <ryuo at frugalware.org>
Date:   Wed Jun 6 05:32:15 2012 -0500

synergy-1.4.8-1-x86_64
* convert to use systemd schema

diff --git a/source/xapps-extra/synergy/FrugalBuild b/source/xapps-extra/synergy/FrugalBuild
index 48be06a..0e5a2dd 100644
--- a/source/xapps-extra/synergy/FrugalBuild
+++ b/source/xapps-extra/synergy/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Priyank Gosalia <priyankmg at gmail.com>

pkgname=synergy
-pkgver=1.4.2
+pkgver=1.4.8
pkgrel=1
pkgdesc="Synergy lets you easily share a single mouse and keyboard between multiple computers."
_F_googlecode_ext="-Source.tar.gz"
@@ -10,9 +10,11 @@ Finclude googlecode cmake
depends=('xextproto' 'xproto' 'kbproto' 'inputproto' 'xineramaproto' 'libxt' 'libx11' 'libxinerama' 'libxext' 'libxtst')
groups=('xapps-extra')
archs=('i686' 'x86_64')
-source=($source synergy.service)
-sha1sums=('d01b147a57cc9ad12287780b19133a0ae0095083' \
+source=(${source[@]} synergy.service)
+sha1sums=('07a8fb390f9500797af3d7a01a55f3c266b91a59' \
'308942cc00e58b09f136ce8c3e274926117005c3')
+_F_systemd_units=(synergy=)
+Finclude systemd

build() {
Fcd $pkgname-$pkgver-Source
@@ -20,11 +22,12 @@ build() {
cmake  -D CMAKE_INSTALL_PREFIX=/usr . || Fdie
make || Fdie
Fmkdir usr/bin
-	Fexerel synergyc usr/bin/
-	Fexerel synergys usr/bin/
+	Fexerel bin/synergyc usr/bin/
+	Fexerel bin/synergys usr/bin/
Fmkdir /etc
-	Finstallrel 644 conf/$pkgname.conf /etc/
+	Finstallrel 644 doc/$pkgname.conf.example /etc/$pkgname.conf
Ffile /lib/systemd/system/synergy.service
+	Fgenscriptlet
}

# optimization OK


More information about the Frugalware-git mailing list