milis/talimatname/genel/slim/talimat

34 lines
935 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Grafiksel oturum açma yardımcı programı
# URL: http://sourceforge.net/projects/slim.berlios
# Packager: milisarge
# Depends on: xorg-xauth libjpeg-turbo libpng cmake
name=slim
version=1.3.6
release=1
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
http://crux.nu/~tek/slim-crux-smooth.tar.gz $name.rc)
build () {
cd $name-$version
# Slimlock inşa etmeyin (pam nedeniyle)
sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$PKG install
mkdir $PKG/etc/rc.d/
mkdir $PKG/etc/rc.d/init.d
install -m 755 ../$name.rc $PKG/etc/rc.d/init.d/$name
cd ../
rm -f slim-crux-smooth/README
cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
# Systemd desteği yok
rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
}