opt/slim/Pkgfile

34 lines
895 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: a graphical login utility
2009-09-19 01:04:29 +02:00
# URL: http://slim.berlios.de
# Packager: Simone Rota, sip at crux dot nu
# Maintainer: Thomas Penteker, tek at serverop dot de
2012-06-27 23:25:50 +02:00
# Depends on: xorg-xauth, libjpeg, libpng, cmake
2006-02-23 16:26:10 +01:00
name=slim
2013-01-02 16:07:12 +01:00
version=1.3.5
2012-06-27 23:25:50 +02:00
release=1
source=(http://download.berlios.de/$name/$name-$version.tar.gz \
2012-08-11 16:06:10 +02:00
http://jw.tks6.net/files/slim-crux-smooth.tar.gz libpng.patch $name.rc)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2012-06-27 23:25:50 +02:00
2013-01-02 16:07:12 +01:00
#patch -i ../libpng.patch -p1
2012-08-11 16:06:10 +02:00
2012-06-27 23:25:50 +02:00
sed -i 's:${MANDIR}:/usr/man:g' CMakeLists.txt
cmake -DCMAKE_INSTALL_PREFIX=/usr
2006-02-23 16:26:10 +01:00
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/*
2013-01-02 16:07:12 +01:00
# no systemd support
rm -r $PKG/usr/usr/lib/
2006-02-23 16:26:10 +01:00
}