Advertisement
Guest User

Untitled

a guest
Dec 9th, 2017
688
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. # Maintainer: Frederic Bezies <fredbezies at gmail dot com>
  2. # Contributor: Chad "crossroads1112" Sharp <crossroads1112@riseup.net>
  3. # Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
  4. pkgname=lumina-desktop-git
  5. pkgver=v1.4.0.r76.gb6536c15
  6. pkgrel=1
  7. pkgdesc="A Lightweight QT5 Desktop for FreeBSD -- git version"
  8. arch=('x86_64' 'i686')
  9. url="https://github.com/pcbsd/lumina"
  10. license=('BSD')
  11. depends=('poppler-qt5' 'qt5-x11extras' 'qt5-multimedia')
  12. optdepends=('xorg-xbacklight: required for changing screen brightness'
  13. 'alsa-utils: required for adjusting audio volume'
  14. 'acpi: required for monitoring battery life'
  15. 'numlockx: required for changign state of numlock at login'
  16. 'pavucontrol: required for detatched audio mixer'
  17. 'fluxmod-styles: A good set of Fluxbox themes to improve the appearence of window decorations'
  18. 'network-manager-applet: Manage network connections from panel'
  19. 'xterm: Terminal emulator'
  20. 'fluxbox: window manager for Lumina DE')
  21. provides=("${pkgname%-*}" "insight-fm")
  22. makedepends=('git' 'qt5-base' 'qt5-tools' 'qt5-svg')
  23. conflicts=("${pkgname%-*}" "lumina-de-git" "insight-fm")
  24. provides=("${pkgname%-*-*}" "insight-fm")
  25. source=(git+https://github.com/trueos/lumina.git)
  26. md5sums=(SKIP)
  27.  
  28. pkgver() {
  29. cd "$srcdir/lumina"
  30. git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
  31. }
  32.  
  33. build(){
  34. cd "$srcdir/lumina/"
  35. find $srcdir/lumina -name *.desktop -exec sed -i 's/usr\/local/usr/' {} \;
  36. qmake-qt5 QMAKE_CFLAGS_ISYSTEM= PREFIX="/usr" QT5LIBDIR=/usr/lib/qt
  37. make
  38. }
  39.  
  40. package() {
  41. cd "$srcdir/lumina"
  42. make INSTALL_ROOT="${pkgdir}" install
  43. mv "${pkgdir}"/usr/etc "${pkgdir}"/etc
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement