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
|
|
|
|
|
# Depends on: xorg-xauth libjpeg-turbo libpng cmake
|
2016-03-12 17:24:37 +01:00
|
|
|
|
|
|
|
|
|
name=slim
|
|
|
|
|
version=1.3.6
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
|
2016-04-18 23:17:25 +02:00
|
|
|
|
http://crux.nu/~tek/slim-crux-smooth.tar.gz $name.rc)
|
2016-03-12 17:24:37 +01:00
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
|
2017-04-17 12:40:47 +02:00
|
|
|
|
# Slimlock inşa etmeyin (pam nedeniyle)
|
2016-03-12 17:24:37 +01:00
|
|
|
|
sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2016-04-18 23:17:25 +02:00
|
|
|
|
mkdir $PKG/etc/rc.d/
|
|
|
|
|
mkdir $PKG/etc/rc.d/init.d
|
|
|
|
|
install -m 755 ../$name.rc $PKG/etc/rc.d/init.d/$name
|
2016-03-12 17:24:37 +01:00
|
|
|
|
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/*
|
|
|
|
|
|
2017-04-17 12:40:47 +02:00
|
|
|
|
# Systemd desteği yok
|
2016-03-12 17:24:37 +01:00
|
|
|
|
rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
|
|
|
|
|
}
|