Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=e158576a37f40a95976ada5cdde4a758729219ae
commit e158576a37f40a95976ada5cdde4a758729219ae Author: James Buren <[email protected]> Date: Sat Jun 9 04:06:51 2012 -0500 fun-0.3.3-3-x86_64 * convert to systemd schema diff --git a/source/xapps/fun/FrugalBuild b/source/xapps/fun/FrugalBuild index 0441eae..16d31db 100644 --- a/source/xapps/fun/FrugalBuild +++ b/source/xapps/fun/FrugalBuild @@ -3,7 +3,7 @@ pkgname=fun pkgver=0.3.3 -pkgrel=2 +pkgrel=3 pkgdesc="Frugalware Update Notifier (FUN)" url="http://ftp.frugalware.org/pub/other/fun" rodepends=('gfpm>=1.2.1') @@ -14,17 +14,20 @@ groups=('xapps') archs=('i686' 'x86_64') options=('genscriptlet') _F_gnome_iconcache="y" +_F_gnome_scriptlet="$pkgname.install" Finclude gnome-scriptlet up2date="lynx -dump $url | Flasttar" -source=($url/$pkgname-$pkgver.tar.gz rc.fun) +source=($url/$pkgname-$pkgver.tar.gz rc.fun fun.service) sha1sums=('aaab153c453a5504f76cdc4e5dc808d80cacf2e5' \ - 'b9b174e0b69f89a4f1ed1c53244a1ef3f1d7727b') + 'b9b174e0b69f89a4f1ed1c53244a1ef3f1d7727b' \ + '4570162ee41a854bea8a7a5d72a64084d6b2668b') build() { Fbuild Fbuild_gnome_scriptlet Frcd2 + Ffile /lib/systemd/system/fun.service } # optimization OK diff --git a/source/xapps/fun/fun.service b/source/xapps/fun/fun.service new file mode 100644 index 0000000..a12dd6d --- /dev/null +++ b/source/xapps/fun/fun.service @@ -0,0 +1,10 @@ +[Unit] +Description=Frugalware Update Notifier daemon +After=network.target + +[Service] +ExecStart=/usr/sbin/fund --daemon +Type=forking + +[Install] +WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
