diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/lxdm/PKGBUILD | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/lxdm/PKGBUILD')
-rw-r--r-- | community/lxdm/PKGBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/community/lxdm/PKGBUILD b/community/lxdm/PKGBUILD index 4ccae3d07..5b5edba39 100644 --- a/community/lxdm/PKGBUILD +++ b/community/lxdm/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 97132 2013-09-13 13:17:58Z bgyorgy $ +# $Id: PKGBUILD 101508 2013-11-26 19:15:27Z bgyorgy $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: AndyRTR <andyrtr@archlinux.org> # Contributor: kiefer <jorgelmadrid@gmail.com> pkgname=lxdm pkgver=0.4.1 -pkgrel=27 +pkgrel=29 pkgdesc='Lightweight X11 Display Manager' arch=('i686' 'x86_64') url="http://sourceforge.net/projects/lxdm/" license=('GPL') groups=('lxde') -depends=('gtk2' 'xorg-server' 'iso-codes') -makedepends=('intltool') +depends=('gtk2' 'xorg-server') +makedepends=('intltool' 'iso-codes') optdepends=('gtk-engines: default GTK+ theme' 'librsvg: display the default background') install=$pkgname.install @@ -21,10 +21,14 @@ backup=('etc/lxdm/lxdm.conf' 'etc/pam.d/lxdm' 'etc/lxdm/Xsession' 'etc/lxdm/PostLogout' 'etc/lxdm/PreReboot' 'etc/lxdm/PreShutdown') source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz git-fixes.patch - default-config.patch) + default-config.patch + lxdm.pam + Xsession) md5sums=('8da1cfc2be6dc9217c85a7cf51e1e821' - '03d0779fbac1a9964776c82e69fbc53e' - 'c61ec8ffd3fe8bd2a6a9178393622f4c') + 'e9367cec197fa2919531f5c623ecec47' + '2ba18992efef43f84061717f0550e4b6' + 'c941ef896248bc7c03901b513490425c' + 'd9c8f8c9e6de52dbc389696454c8f572') prepare(){ cd "$srcdir/$pkgname-$pkgver" @@ -35,8 +39,12 @@ prepare(){ # Adjust Arch-specific settings patch -Np1 -i ../default-config.patch - # Fix version number - sed -i 's/3.6.0/3.8/' gnome-shell/LXDM_User_Switch@dgod/metadata.json + # Use our custom pam and Xsession files + cp ../lxdm.pam pam/lxdm + cp ../Xsession data/Xsession + + # Fix for pulseaudio + echo 'test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r' >>data/PostLogout.in } build() { @@ -56,8 +64,4 @@ package() { install -dm 755 "$pkgdir/var/lib/lxdm" echo 'GDK_CORE_DEVICE_EVENTS=true' > "$pkgdir"/var/lib/lxdm/.pam_environment chown -R 121:121 "$pkgdir/var/lib/lxdm" - - # GNOME Shell extension - mkdir -p "$pkgdir/usr/share/gnome-shell/extensions" - cp -r gnome-shell/LXDM_User_Switch@dgod "$pkgdir/usr/share/gnome-shell/extensions" } |