milis/talimatname/genel/lxdm/talimat

40 lines
1.3 KiB
Plaintext

# Description: A light weight session manager for linux
# URL: http://sourceforge.net/projects/lxdm/
# Packager: milisarge
# Depends on: iso-codes librsvg xorg-libxinerama xorg-libxrandr xorg-libxcursor xorg-libxdamage gtk2 consolekit2
name=lxdm
version=0.5.3
release=1
source=(http://sourceforge.net/projects/lxde/files/${name}/${name}%20${version}/${name}-${version}.tar.xz
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
lxdm.pam
Xsession)
build() {
cd $name-$version
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
make DESTDIR=$PKG install
cp ../lxdm.pam $PKG/etc/pam.d/lxdm
cp ../Xsession $PKG/etc/lxdm/
mkdir $PKG/etc/rc.d
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
}