AndrzejL

Smplayer 14.3.0 QT4 version PKGBUILD and smplayer.install

Apr 28th, 2014
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. PKGBUILD
  2.  
  3. # AndrzejL
  4. pkgname=smplayer
  5. pkgver=14.3.0
  6. pkgrel=2
  7. pkgdesc="A complete front-end for MPlayer"
  8. arch=('i686' 'x86_64')
  9. url="http://smplayer.sourceforge.net/"
  10. license=('GPL')
  11. depends=('qt4' 'mplayer')
  12. optdepends=('smplayer-themes: icon themes collection'
  13. 'smplayer-skins: skin themes collection'
  14. 'smtube: browse and play youtube videos')
  15. install=smplayer.install
  16. provides=('smplayer-qt4')
  17. source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
  18. md5sums=('c6ef86f7fe0022b35c0f06430f4cd9bd')
  19. build() {
  20. cd "smplayer-$pkgver"
  21. make PREFIX=/usr QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 \
  22. DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \
  23. QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
  24. }
  25.  
  26. package() {
  27. cd "smplayer-$pkgver"
  28. make DOC_PATH=/usr/share/doc/smplayer \
  29. DESTDIR="$pkgdir" PREFIX="/usr" install
  30. }
  31.  
  32. smplayer.install
  33.  
  34. post_install() {
  35. xdg-icon-resource forceupdate --theme hicolor &> /dev/null
  36. update-desktop-database -q
  37. }
  38.  
  39. post_upgrade() {
  40. post_install
  41. }
  42.  
  43. post_remove() {
  44. post_install
  45. }
Advertisement
Add Comment
Please, Sign In to add comment