2016-06-12 20:47:47 +02:00
|
|
|
# Description: A light weight session manager for linux
|
|
|
|
# URL: http://sourceforge.net/projects/lxdm/
|
2016-06-12 20:28:09 +02:00
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
# Depends on: iso-codes librsvg xorg-libxinerama xorg-libxrandr xorg-libxcursor xorg-libxdamage gtk2 consolekit2
|
|
|
|
|
|
|
|
name=lxdm
|
2016-06-12 20:28:09 +02:00
|
|
|
version=0.5.3
|
|
|
|
release=1
|
2016-06-12 20:47:47 +02:00
|
|
|
source=(http://sourceforge.net/projects/lxde/files/${name}/${name}%20${version}/${name}-${version}.tar.xz
|
2016-06-14 16:53:30 +02:00
|
|
|
http://downloads.sourceforge.net/project/lxdm-init-script/lxdm-init-script-0.0.1.tar.gz
|
|
|
|
http://dl.dropbox.com/u/4813005/lxdm/lxdm-themes.tar.gz
|
|
|
|
lxdm.in.patch
|
|
|
|
lxdm.conf.in.patch
|
2016-06-14 21:38:55 +02:00
|
|
|
lxdm.pam
|
|
|
|
Xsession)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
build() {
|
2016-06-12 20:47:47 +02:00
|
|
|
|
|
|
|
cd $name-$version
|
2016-06-14 16:53:30 +02:00
|
|
|
|
|
|
|
patch -Np1 < ../lxdm.in.patch
|
|
|
|
patch -Np1 < ../lxdm.conf.in.patch
|
|
|
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc \
|
|
|
|
--libexecdir=/usr/lib/lxdm --localstatedir=/var --with-systemdsystemunitdir=no &&
|
|
|
|
make
|
2016-06-12 20:47:47 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2016-06-14 16:53:30 +02:00
|
|
|
cp ../lxdm.pam $PKG/etc/pam.d/lxdm
|
2016-06-14 21:38:55 +02:00
|
|
|
cp ../Xsession $PKG/etc/lxdm/
|
2016-06-12 20:47:47 +02:00
|
|
|
mkdir $PKG/etc/rc.d
|
2016-06-14 16:53:30 +02:00
|
|
|
mkdir $PKG/etc/rc.d/init.d
|
|
|
|
install -m 755 $SRC/lxdm-init-script/lxdm $PKG/etc/rc.d/init.d/$name
|
|
|
|
|
|
|
|
install -dm 755 ${PKG}/var/lib/lxdm
|
|
|
|
echo 'GDK_CORE_DEVICE_EVENTS=true' > "$PKG"/var/lib/lxdm/.pam_environment
|
|
|
|
|
|
|
|
cp -r ${SRC}/lxdm-themes/* ${PKG}/usr/share/lxdm/themes
|
2016-06-12 20:47:47 +02:00
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
}
|