Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

lxdm-git: removed stale PKGBUILD

  • Loading branch information...
commit a4ef50841cedb0a249faf7c9538bd6c317c83ef1 1 parent 2ec66f9
Dave Reisner authored
73 lxdm-git/PKGBUILD
... ... @@ -1,73 +0,0 @@
1   -# Maintainer: Dave Reisner <dreisner@archlinux.org>
2   -# Contributor: Phillipe Smith <phillipe@archlinux.com.br>
3   -
4   -pkgname=lxdm-git
5   -pkgver=20120220
6   -pkgrel=1
7   -pkgdesc='Lightweight Display Manager (part of LXDE)'
8   -arch=('i686' 'x86_64')
9   -url="http://blog.lxde.org/?p=531"
10   -license=('GPL')
11   -groups=('lxde')
12   -provides=('lxdm')
13   -conflicts=('lxdm' 'lxdm-svn')
14   -depends=('cairo' 'consolekit' 'dbus-core' 'gdk-pixbuf2' 'glib2' 'gtk2' 'libx11' 'libxcb' 'pango')
15   -makedepends=('intltool' 'git')
16   -backup=('etc/lxdm/lxdm.conf')
17   -install=lxdm.install
18   -source=('Xsession.patch'
19   - 'lxdm.pam'
20   - 'lxdm.patch'
21   - 'arch-dark-theme.tar.gz')
22   -md5sums=('9bdf95adb74d81d4b6b6176fb1142090'
23   - 'b20fe3c8487a039050986d60e45233a9'
24   - 'baed9055e8825a5511712bc095197519'
25   - '0cc1eeb79300a982bea2f9bea79c1b06')
26   -
27   -_gitroot="git://lxde.git.sourceforge.net/gitroot/lxde/lxdm"
28   -_gitname="lxdm"
29   -
30   -build() {
31   - msg "Connecting to GIT server...."
32   -
33   - if [[ -d $_gitname ]] ; then
34   - cd $_gitname && git pull origin
35   - msg "The local files are updated."
36   - else
37   - git clone $_gitroot
38   - fi
39   -
40   - msg "GIT checkout done or server timeout"
41   - msg "Starting make..."
42   -
43   - rm -rf "$srcdir/$_gitname-build"
44   - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
45   - cd "$srcdir/$_gitname-build"
46   -
47   - ./autogen.sh
48   - ./configure \
49   - --sysconfdir=/etc \
50   - --prefix=/usr \
51   - --libexecdir=/usr/lib/lxdm
52   -
53   - make
54   -
55   - patch -Np0 <"$srcdir"/lxdm.patch
56   - patch -Np0 <"$srcdir"/Xsession.patch
57   -
58   - # Removing chown from data/Makefile and adding it to lxdm.install
59   - sed -i '/chown\ root:lxdm/d' "$srcdir/lxdm-build/data/Makefile"
60   -}
61   -
62   -package() {
63   - cd "$srcdir/$_gitname-build"
64   -
65   - make DESTDIR="$pkgdir" install
66   -
67   - install -m644 "$srcdir/lxdm.pam" "$pkgdir/etc/pam.d/lxdm"
68   -
69   - cp -dpr --no-preserve=ownership "$srcdir/Arch-Dark" "$pkgdir/usr/share/lxdm/themes"
70   -
71   - # Setting Arch-Dark theme the default LXDM theme
72   - sed 's/Industrial/Arch-Dark/' -i ${pkgdir}/etc/lxdm/lxdm.conf
73   -}
14 lxdm-git/Xsession.patch
... ... @@ -1,14 +0,0 @@
1   ---- data/Xsession.orig 2010-01-31 20:48:08.695677408 -0200
2   -+++ data/Xsession 2010-01-31 20:47:48.260223292 -0200
3   -@@ -2,6 +2,11 @@
4   -
5   - # use bash for "exec -l", howto run login shell by /bin/sh ?
6   -
7   -+[[ -f /etc/profile ]] && . /etc/profile
8   -+[[ -f "$HOME/.profile" ]] && . "$HOME/.profile"
9   -+[[ -f /etc/xprofile ]] && . /etc/xprofile
10   -+[[ -f "$HOME/.xprofile" ]] && . "$HOME/.xprofile"
11   -+
12   - if [ $# -eq 1 -a -n "$1" ]; then
13   - LXSESSION=$1
14   - else
39 lxdm-git/lxdm.install
... ... @@ -1,39 +0,0 @@
1   -pkgname=lxdm-git
2   -
3   -post_install() {
4   -# Adding lxdm group
5   - if [ -z "`getent group "lxdm" 2> /dev/null`" ]; then
6   - groupadd lxdm
7   - chown root:lxdm /etc/lxdm/lxdm.conf
8   - fi
9   -
10   -cat << EOF
11   -
12   - >>> Substitute your old /etc/lxdm/lxdm.conf
13   - >>> with the new one to make the lxdm work properly.
14   - >>>
15   - >>> To make the LXDM as your default DM,
16   - >>> put, 'lxdm' or '@lxdm' (without quotes) on DAEMONS in /etc/rc.conf
17   - >>>
18   - >>> You can also use /etc/inittab,
19   - >>> just add 'x:5:respawn:/usr/sbin/lxdm >& /dev/null' (without quotes)
20   - >>> in the end of the file /etc/inittab
21   - >>> and uncoment the line on the top 'id:5:initdefault:'.
22   -
23   -EOF
24   -}
25   -
26   -post_upgrade() {
27   - post_install $1
28   -}
29   -
30   -post_remove() {
31   - # Removing lxdm group
32   - getent group "lxdm" &>/dev/null && groupdel lxdm #1>/dev/null
33   - return 0
34   -}
35   -
36   -op=$1
37   -shift
38   -
39   -$op "$@"
8 lxdm-git/lxdm.pam
... ... @@ -1,8 +0,0 @@
1   -#%PAM-1.0
2   -auth requisite pam_nologin.so
3   -auth required pam_env.so
4   -auth required pam_unix.so
5   -account required pam_unix.so
6   -session required pam_limits.so
7   -session required pam_unix.so
8   -password required pam_unix.so
26 lxdm-git/lxdm.patch
... ... @@ -1,26 +0,0 @@
1   ---- data/lxdm.orig 2010-01-24 16:58:42.262866825 -0200
2   -+++ data/lxdm 2010-01-19 11:56:34.308668692 -0200
3   -@@ -1,21 +1,13 @@
4   - #!/bin/sh
5   -
6   --[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
7   --
8   --if [ -z "$LANG" -a -e /etc/sysconfig/language ]; then
9   -- . /etc/sysconfig/language
10   -- if [ -n "$RC_LANG"]; then
11   -- LANG=$RC_LANG
12   -- fi
13   -+if [ -r /etc/profile.d/locale.sh ]; then
14   -+ . /etc/profile.d/locale.sh
15   - fi
16   -
17   - if [ -n "$LANG" ]; then
18   - export LANG
19   - fi
20   -
21   --[ -f /etc/sysconfig/desktop ] && . /etc/sysconfig/desktop
22   --[ -f /etc/sysconfig/windowmanager ] && . /etc/sysconfig/windowmanager
23   --
24   - if [ -n "$DEFAULT_WM" ]; then
25   - PREFERRED=$DEFAULT_WM
26   - fi

0 comments on commit a4ef508

Please sign in to comment.
Something went wrong with that request. Please try again.