37 lines
1005 B
Plaintext
37 lines
1005 B
Plaintext
# Description: a graphical login utility
|
|
# URL: https://sourceforge.net/projects/slim.berlios
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
# Depends on: xorg-xauth libjpeg-turbo
|
|
|
|
name=slim
|
|
version=1.3.6
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz
|
|
https://crux.nu/files/slim-crux-smooth.tar.gz $name.rc
|
|
signed-comparison.patch)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
# https://bugs.gentoo.org/786498
|
|
patch -p1 -i $SRC/signed-comparison.patch
|
|
|
|
# do NOT build slimlock (because of pam)
|
|
sed -i -e '224d' CMakeLists.txt
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
mkdir $PKG/etc/rc.d
|
|
install -m 755 ../$name.rc $PKG/etc/rc.d/$name
|
|
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/*
|
|
|
|
# no systemd support
|
|
rm -r $PKG/lib $PKG/usr/share/man/man1/slimlock.1
|
|
}
|