Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=bouleetbiltesting.git;a=commitdiff;h=724aa808a31f45cd97191993a7917f421cc9c9cc

commit 724aa808a31f45cd97191993a7917f421cc9c9cc
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri Dec 11 23:52:14 2009 +0000

lxdm-1-1-i686
*new package

diff --git a/source/x11-extra/lxdm/FrugalBuild 
b/source/x11-extra/lxdm/FrugalBuild
new file mode 100644
index 0000000..e7f2747
--- /dev/null
+++ b/source/x11-extra/lxdm/FrugalBuild
@@ -0,0 +1,35 @@
+# Compiling Time: 0.04 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+USE_DEVEL=${USE_DEVEL:-"y"}
+
+pkgname=lxdm
+pkgver=1
+pkgrel=1
+pkgdesc="LXDM - GUI login manager for LXDE"
+depends=('gtk+2>=2.16.2-2' 'glibc' 'consolekit')
+makedepends=('intltool')
+options=('scriptlet')
+groups=('x11-extra' 'lxde-desktop')
+archs=('i686' 'x86_64' 'ppc')
+_F_sourceforge_dirname="lxde"
+Finclude sourceforge
+url="http://lxde.org/";
+sha1sums=('735f7e1f7fb2cafdedeedb69d78ef2f2ac38fdb9')
+backup=(/etc/lxdm/lxdm.conf)
+
+if Fuse $USE_DEVEL; then
+       _F_cd_path=$pkgname
+       
source=(http://ftp.frugalware.org/pub/other/people/bouleetbil/sources/$pkgname-$pkgver.tar.gz)
+       up2date="Flasttar 
http://ftp.frugalware.org/pub/other/people/bouleetbil/sources";
+       sha1sums=('7be0024d53961983f2c27a1d3d3b4ff76a8c1965')
+fi
+
+build() {
+       Fcd
+       Fpatchall
+       sh ./autogen.sh
+       Fmake
+       Fmakeinstall
+}
+# optimization OK
diff --git a/source/x11-extra/lxdm/lxdm.install 
b/source/x11-extra/lxdm/lxdm.install
new file mode 100644
index 0000000..b5f7c5e
--- /dev/null
+++ b/source/x11-extra/lxdm/lxdm.install
@@ -0,0 +1,21 @@
+post_install()
+{
+       sed 's|^#desktop="/usr/bin/lxdm"$|desktop="/usr/bin/lxdm"|' -i 
/etc/sysconfig/desktop
+}
+
+post_upgrade()
+{
+       post_install
+}
+
+post_remove()
+{
+       sed -i 's|^desktop="/usr/bin/lxdm"$|#desktop="/usr/bin/lxdm"|' 
/etc/sysconfig/desktop
+}
+
+op=$1
+shift
+
+$op $*
+
+# vim: ft=sh
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to