Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=0349e650b5e87d84e856007c9c8edb924259ed5e

commit 0349e650b5e87d84e856007c9c8edb924259ed5e
Author: James Buren <[email protected]>
Date:   Mon Jun 4 20:38:12 2012 -0500

accountsservice-0.6.21-2-x86_64
* convert to use systemd schema

diff --git a/source/lib/accountsservice/FrugalBuild 
b/source/lib/accountsservice/FrugalBuild
index 871b731..b6548f4 100644
--- a/source/lib/accountsservice/FrugalBuild
+++ b/source/lib/accountsservice/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=accountsservice
pkgver=0.6.21
-pkgrel=1
+pkgrel=2
pkgdesc="D-Bus interfaces for querying and manipulating user account 
information"
url=http://www.fedoraproject.org/wiki/Features/UserAccountDialog
depends=('polkit' 'systemd')
@@ -15,5 +15,13 @@ up2date="Flasttar 
http://www.freedesktop.org/software/accountsservice/";
source=(http://www.freedesktop.org/software/accountsservice/$pkgname-$pkgver.tar.xz)
sha1sums=('96c9216cab937d1d79faca998f4602dab248145a')
Fconfopts="$Fconfopts --with-systemdsystemunitdir=/lib/systemd/system 
--disable-static"
+_F_systemd_units=(accounts-daemon=e)
+Finclude systemd
+
+build()
+{
+       Fbuild
+       Fgenscriptlet
+}

# optimization OK
diff --git a/source/lib/accountsservice/accountsservice.install 
b/source/lib/accountsservice/accountsservice.install
deleted file mode 100644
index 8038f9e..0000000
--- a/source/lib/accountsservice/accountsservice.install
+++ /dev/null
@@ -1,30 +0,0 @@
-post_install()
-{
-       systemctl daemon-reload >/dev/null 2>&1
-       systemctl enable accounts-daemon.service >/dev/null 2>&1
-}
-
-post_upgrade()
-{
-       systemctl daemon-reload >/dev/null 2>&1
-       systemctl try-restart accounts-daemon.service >/dev/null 2>&1
-       systemctl enable accounts-daemon.service >/dev/null 2>&1
-}
-
-pre_remove()
-{
-       systemctl stop accounts-daemon.service >/dev/null 2>&1
-       systemctl disable accounts-daemon.service >/dev/null 2>&1
-}
-
-post_remove()
-{
-       systemctl daemon-reload >/dev/null 2>&1
-}
-
-op=$1
-shift
-
-$op $*
-
-# vim: ft=sh
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to