talimat 935 B

12345678910111213141516171819202122232425262728293031323334
  1. # Description: Grafiksel oturum açma yardımcı programı
  2. # URL: http://sourceforge.net/projects/slim.berlios
  3. # Packager: milisarge
  4. # Depends on: xorg-xauth libjpeg-turbo libpng cmake
  5. name=slim
  6. version=1.3.6
  7. release=1
  8. source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
  9. http://crux.nu/~tek/slim-crux-smooth.tar.gz $name.rc)
  10. build () {
  11. cd $name-$version
  12. # Slimlock inşa etmeyin (pam nedeniyle)
  13. sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
  14. cmake -DCMAKE_INSTALL_PREFIX=/usr
  15. make
  16. make DESTDIR=$PKG install
  17. mkdir $PKG/etc/rc.d/
  18. mkdir $PKG/etc/rc.d/init.d
  19. install -m 755 ../$name.rc $PKG/etc/rc.d/init.d/$name
  20. cd ../
  21. rm -f slim-crux-smooth/README
  22. cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
  23. chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
  24. # Systemd desteği yok
  25. rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
  26. }