milis/talimatname/genel/slim/talimat

45 lines
1.2 KiB
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 xorg-libxft
name=slim
version=1.3.6
release=3
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz
$name.rc
background.jpg
https://raw.githubusercontent.com/yakar/milis-linux-wallpapers/master/milis-linux-tree.png
slim.conf
slim.rc
slim.theme)
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
cp $SRC/slim.conf $PKG/etc/
install -m 755 ../$name.rc $PKG/etc/rc.d/init.d/$name
cd ../
install -d $PKG/usr/share/slim/themes/milis
cp $SRC/background.jpg $PKG/usr/share/slim/themes/milis/
cp $SRC/milis-linux-tree.png $PKG/usr/share/slim/themes/milis/panel.png
cp $SRC/slim.theme $PKG/usr/share/slim/themes/milis/
chmod 0644 $PKG/usr/share/slim/themes/milis/*
# Systemd desteği yok
rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-slim
}