opt/slim/Pkgfile

37 lines
1006 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: a graphical login utility
2023-04-06 19:00:03 +02:00
# URL: https://sourceforge.net/projects/slim.berlios/
2021-01-31 19:09:55 +01:00
# Maintainer: Matt Housh, jaeger at crux dot ninja
2020-08-16 15:28:11 +02:00
# Depends on: xorg-xauth libjpeg-turbo
2006-02-23 16:26:10 +01:00
name=slim
2013-10-04 22:23:41 +02:00
version=1.3.6
2012-06-27 23:25:50 +02:00
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)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2012-06-27 23:25:50 +02:00
# https://bugs.gentoo.org/786498
patch -p1 -i $SRC/signed-comparison.patch
2013-10-04 22:23:41 +02:00
# do NOT build slimlock (because of pam)
sed -i -e '224d' CMakeLists.txt
2012-06-27 23:25:50 +02:00
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 ../
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/*
# no systemd support
rm -r $PKG/lib $PKG/usr/share/man/man1/slimlock.1
2006-02-23 16:26:10 +01:00
}