summaryrefslogtreecommitdiff
path: root/slim/Pkgfile
blob: b1040a4f002e694a7c11e5e681c77f22a1d59c7f (plain)
    1 # Description: a graphical login utility
    2 # URL:         http://sourceforge.net/projects/slim.berlios
    3 # Packager:    Simone Rota, sip at crux dot nu
    4 # Maintainer:  Thomas Penteker, tek at serverop dot de
    5 # Depends on:  xorg-xauth, libjpeg-turbo
    6 
    7 name=slim
    8 version=1.3.6
    9 release=1
   10 source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
   11         http://crux.nu/~tek/slim-crux-smooth.tar.gz libpng.patch $name.rc)
   12 
   13 build () {
   14    cd $name-$version
   15 
   16    # do NOT build slimlock (because of pam)
   17    sed -i  -e '224d' CMakeLists.txt
   18 
   19    cmake -DCMAKE_INSTALL_PREFIX=/usr
   20 
   21    make
   22    make DESTDIR=$PKG install
   23    mkdir $PKG/etc/rc.d
   24    install -m 755 ../$name.rc $PKG/etc/rc.d/$name
   25    cd ../
   26 
   27    rm -f slim-crux-smooth/README
   28    cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
   29    chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
   30 
   31    # no systemd support
   32    rm -r $PKG/lib $PKG/usr/share/man/man1/slimlock.1
   33 }

Generated by cgit