Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=524780f2a3aebcdc23cf6a163705ffbcfa202826

commit 524780f2a3aebcdc23cf6a163705ffbcfa202826
Author: Devil505 <devil505li...@gmail.com>
Date:   Sat Oct 15 12:56:02 2011 +0200

samsung-tools-1.5-2-i686
* added systemd service file

diff --git a/source/xapps-extra/samsung-tools/FrugalBuild 
b/source/xapps-extra/samsung-tools/FrugalBuild
index 96f73c9..0a01982 100644
--- a/source/xapps-extra/samsung-tools/FrugalBuild
+++ b/source/xapps-extra/samsung-tools/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=samsung-tools
pkgver=1.5
-pkgrel=1
+pkgrel=2
pkgdesc="Tools for Samsung netbooks"
depends=('pm-utils' 'xbindkeys' 'dbus-python' 'easy-slow-down-manager' 
'notify-python')
groups=('xapps-extra')
@@ -15,9 +15,13 @@ backup=(etc/samsung-tools/system.conf
etc/samsung-tools/scripts/wireless-on
etc/samsung-tools/scripts/wireless-off)
Finclude launchpad
-sha1sums=('4c31c3bae2576eef87c825969f01c4346e3ef2df')
+source=($source samsung-tools.service)
+sha1sums=('4c31c3bae2576eef87c825969f01c4346e3ef2df' \
+          '2ae95bc233170fb07c8447f15b25e2adf5f876a4')

build() {
Fcd
Fmakeinstall
+       Fmkdir lib/systemd/system/
+       Finstall 0644 samsung-tools.service 
/lib/systemd/system/samsung-tools.service
}
diff --git a/source/xapps-extra/samsung-tools/samsung-tools.service 
b/source/xapps-extra/samsung-tools/samsung-tools.service
new file mode 100644
index 0000000..eaa4843
--- /dev/null
+++ b/source/xapps-extra/samsung-tools/samsung-tools.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Tools for Samsung netbooks
+
+[Service]
+ExecStart=/usr/bin/dbus-send --system --print-reply=literal 
--dest='org.voria.SamsungTools.System' '/' 
org.voria.SamsungTools.System.SetInitialDevicesStatus
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to