45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# 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
|
||
}
|