template 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Template file for 'deadd-notification-center'
  2. pkgname=deadd-notification-center
  3. version=1.7.2
  4. revision=1
  5. wrksrc="linux_notification_center-${version}"
  6. create_wrksrc=yes
  7. build_style=gnu-makefile
  8. hostmakedepends="tar xz stack cairo gobject-introspection pkg-config glib-devel"
  9. makedepends="pango-devel libxml2-devel gtk+3-devel"
  10. depends="gobject-introspection gtk+3"
  11. short_desc="Notification daemon/center GUI for linux"
  12. maintainer="reback00 <reback00@protonmail.com>"
  13. license="BSD-3-Clause-Clear"
  14. homepage="https://github.com/phuhl/linux_notification_center"
  15. distfiles="https://github.com/phuhl/linux_notification_center/archive/${version}.tar.gz"
  16. checksum=f5359432d6e90ff65bb7b970bbe00561fc9765a3e9707be8ab0e5f8ca14ef10b
  17. patch_args="-Np1"
  18. nopie=yes
  19. do_extract() {
  20. # To get rid of directory inside directory and have a clean structure
  21. tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${version}.tar.gz \
  22. --strip-components=1 -C ${wrksrc}
  23. }
  24. pre_build() {
  25. # Fix for "GHC bindist has not yet been added for OS key 'linux64-ncurses6'" error.
  26. # Details: https://docs.haskellstack.org/en/stable/faq/#how-do-i-install-ghc-in-stack-when-it-fails-with-the-error-missing-ghc-bindist-for-linux64-ncurses6
  27. ln -sf ../../usr/lib/libncursesw.so.6 ../../usr/lib/libtinfo.so.6
  28. }
  29. post_install() {
  30. vlicense LICENSE
  31. }