template 900 B

1234567891011121314151617181920212223242526272829
  1. # Template file for 'slim'
  2. pkgname=slim
  3. version=1.3.6
  4. revision=19
  5. build_style=cmake
  6. configure_args="-DUSE_CONSOLEKIT=1 -DUSE_PAM=yes"
  7. conf_files="/etc/slim.conf /etc/pam.d/slim"
  8. hostmakedepends="pkgconf"
  9. makedepends="libpng-devel freetype-devel libjpeg-turbo-devel libXrandr-devel
  10. libXmu-devel libXft-devel pam-devel ConsoleKit2-devel"
  11. short_desc="Desktop-independent graphical login manager for X11"
  12. maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
  13. license="GPL-2.0-or-later"
  14. homepage="http://sourceforge.net/projects/slim.berlios/"
  15. distfiles="${SOURCEFORGE_SITE}/slim.berlios/slim-${version}.tar.gz"
  16. checksum=21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df
  17. lib32disabled=yes
  18. patch_args="-Np0"
  19. case "$XBPS_TARGET_MACHINE" in
  20. *-musl) CXXFLAGS="-DNEEDS_BASENAME";;
  21. esac
  22. post_install() {
  23. vsv slim
  24. vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim
  25. rm -rf ${DESTDIR}/lib/systemd
  26. }