blob: 9fabf1d940ddf3042e8af6620bd81d8eef5a674d (
plain)
1 # Description: a graphical login utility
2 # URL: https://sourceforge.net/projects/slim.berlios
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on: xorg-xauth libjpeg-turbo
5
6 name=slim
7 version=1.3.6
8 release=1
9 source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
10 http://crux.nu/~tek/slim-crux-smooth.tar.gz libpng.patch $name.rc)
11
12 build () {
13 cd $name-$version
14
15 # do NOT build slimlock (because of pam)
16 sed -i -e '224d' CMakeLists.txt
17
18 cmake -DCMAKE_INSTALL_PREFIX=/usr
19
20 make
21 make DESTDIR=$PKG install
22 mkdir $PKG/etc/rc.d
23 install -m 755 ../$name.rc $PKG/etc/rc.d/$name
24 cd ../
25
26 rm -f slim-crux-smooth/README
27 cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
28 chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
29
30 # no systemd support
31 rm -r $PKG/lib $PKG/usr/share/man/man1/slimlock.1
32 }
|