milis/talimatname/genel/slim/talimat

45 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-04-17 12:40:47 +02:00
# Description: Grafiksel oturum açma yardımcı programı
# URL: http://sourceforge.net/projects/slim.berlios
# Packager: milisarge
2017-06-06 04:41:29 +02:00
# Depends on: xorg-xauth libjpeg-turbo libpng cmake xorg-libxft
2016-03-12 17:24:37 +01:00
name=slim
version=1.3.6
2017-06-06 19:02:08 +02:00
release=3
2017-06-06 04:41:29 +02:00
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz
$name.rc
background.jpg
2017-06-06 04:46:23 +02:00
https://raw.githubusercontent.com/yakar/milis-linux-wallpapers/master/milis-linux-tree.png
2017-06-06 04:41:29 +02:00
slim.conf
slim.rc
slim.theme)
2016-03-12 17:24:37 +01:00
build () {
2017-06-06 04:41:29 +02:00
cd $name-$version
2016-03-12 17:24:37 +01:00
2017-06-06 04:41:29 +02:00
# Slimlock inşa etmeyin (pam nedeniyle)
sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
2016-03-12 17:24:37 +01:00
2017-06-06 04:41:29 +02:00
cmake -DCMAKE_INSTALL_PREFIX=/usr
2016-03-12 17:24:37 +01:00
2017-06-06 04:41:29 +02:00
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 ../
2016-03-12 17:24:37 +01:00
2017-06-06 04:41:29 +02:00
install -d $PKG/usr/share/slim/themes/milis
cp $SRC/background.jpg $PKG/usr/share/slim/themes/milis/
2017-06-06 04:46:23 +02:00
cp $SRC/milis-linux-tree.png $PKG/usr/share/slim/themes/milis/panel.png
2017-06-06 04:41:29 +02:00
cp $SRC/slim.theme $PKG/usr/share/slim/themes/milis/
chmod 0644 $PKG/usr/share/slim/themes/milis/*
2016-03-12 17:24:37 +01:00
2017-06-06 04:41:29 +02:00
# 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
2016-03-12 17:24:37 +01:00
}