# Description: Simple Login Manager # URL: https://slim-fork.sourceforge.io/ # Maintainer: Matt Housh, jaeger at crux dot ninja # Depends on: xorg-xauth libjpeg-turbo name=slim version=1.4.0 release=1 source=(https://sourceforge.net/projects/slim-fork/files/$name-$version.tar.gz https://crux.nu/files/slim-crux-smooth.tar.gz $name.rc $name.pam) build () { cd $name-$version cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release \ -DUSE_PAM=yes \ -DBUILD_SLIMLOCK=yes \ -DUSE_CONSOLEKIT=no 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/* install -Dm 0644 $name.pam $PKG/etc/pam.d/$name }