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

Generated by cgit