opt/slim/Pkgfile

34 lines
926 B
Plaintext
Raw Normal View History

# Description: Simple Login Manager
# URL: https://slim-fork.sourceforge.io/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: xorg-xauth libjpeg-turbo
2006-02-23 16:26:10 +01:00
name=slim
version=1.4.0
2012-06-27 23:25:50 +02:00
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)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2012-06-27 23:25:50 +02:00
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 ../
2013-01-02 16:07:12 +01:00
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
2006-02-23 16:26:10 +01:00
}