SHARE
TWEET

PKGBUILD smtube-svn

a guest May 10th, 2015 241 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=smtube-svn
  2. pkgver=15.5.10.r6933
  3. pkgrel=1
  4. pkgdesc="Search, download and play videos from YouTube. SVN build."
  5. arch=('i686' 'x86_64')
  6. url="http://smtube.sourceforge.net"
  7. license=('GPL')
  8. depends=('qt5-script' 'desktop-file-utils' 'hicolor-icon-theme' 'libxkbcommon-x11')
  9. makedepends=('subversion' 'qt5-tools')
  10. optdepends=('smplayer: play videos with SMPlayer'
  11.             'mpv: play videos with mpv'
  12.             'gnome-mplayer: play videos with GNOME MPlayer'
  13.             'kdemultimedia-dragonplayer: play videos with Dragon Player'
  14.             'totem: play videos with Totem'
  15.             'vlc: play videos with VLC')
  16. provides=('smtube')
  17. conflicts=('smtube')
  18. source=('smtube::svn+https://subversion.assembla.com/svn/smplayer/smtube/trunk/')
  19. md5sums=('SKIP')
  20.  
  21. pkgver() {
  22.   cd "$SRCDEST"/smtube
  23.   echo $(grep -m1 "VERSION \"" src/version.cpp | cut -d " " -f3 | sed -e 's/^"\(.*\)"$/\1/').r$(svnversion)
  24. }
  25.  
  26. build() {
  27.   cd "$srcdir/smtube"
  28.    make clean
  29.   ./get_svn_revision.sh
  30.   make PREFIX="/usr"
  31. }
  32.  
  33. package() {
  34.   cd "$srcdir/smtube"
  35.   make PREFIX="/usr" DESTDIR="$pkgdir" install
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top