crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

Pkgfile (942B)


      1 # Description: Simple Login Manager
      2 # URL: https://slim-fork.sourceforge.io/
      3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com
      4 # Depends on: xorg-xauth libjpeg-turbo
      5 
      6 name=slim
      7 version=1.4.0
      8 release=1
      9 source=(https://sourceforge.net/projects/slim-fork/files/$name-$version.tar.gz
     10     https://crux.nu/files/slim-crux-smooth.tar.gz $name.rc $name.pam)
     11 
     12 build () {
     13     cd $name-$version
     14 
     15     cmake -DCMAKE_INSTALL_PREFIX=/usr \
     16         -DCMAKE_INSTALL_LIBDIR=/usr/lib \
     17         -DCMAKE_BUILD_TYPE=Release \
     18         -DUSE_PAM=no \
     19         -DBUILD_SLIMLOCK=no \
     20         -DUSE_CONSOLEKIT=no
     21 
     22     make
     23     make DESTDIR=$PKG install
     24     mkdir $PKG/etc/rc.d
     25     install -m 755 ../$name.rc $PKG/etc/rc.d/$name
     26     cd ../
     27 
     28     rm -f slim-crux-smooth/README
     29     cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
     30     chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
     31 
     32     #install -Dm 0644 $name.pam $PKG/etc/pam.d/$name
     33 }