SHARE
TWEET

Arch Linux PKGBUILD for vitunes

cb7 Oct 15th, 2011 42 Never
  1. # Maintainer: Peter Polacik <polacik.p@gmail.com>
  2. pkgname=vitunes
  3. pkgver=2.2
  4. pkgrel=1
  5. pkgdesc="vitunes is a curses-based playlist manager and media player for *nic operating systems with vim-like keybindings."
  6. arch=('i686' 'x86_64')
  7. install='update.patch'
  8. license=('custom')
  9. url="http://vitunes.org"
  10. depends=('taglib' 'mplayer' 'ncurses')
  11. makedepends=('git' 'make' 'gcc')
  12. source=()
  13. _hgrepo=https://github.com/ryanflannery/vitunes
  14. _hgmod=vitunes
  15.  
  16. build() {
  17.         rm -rf $_hgmod
  18.         git clone $_hgrepo $_hgmod
  19.         msg "Starting make..."
  20.         cp ${startdir}/${install} ${srcdir}/$_hgmod/update.patch
  21.         cd ${srcdir}/$_hgmod
  22.         patch -p1 < update.patch
  23.         make LDEPS='`taglib-config --libs` -ltag_c -lz -lstdc++' LDFLAGS='-lm -lncursesw -lutil $(LDEPS)' linux || return 1
  24.         install -D -m 0555 vitunes $pkgdir/usr/bin/vitunes
  25.         install -D -m 0444 vitunes.1 $pkgdir/usr/share/man/man1/vitunes.1
  26.         rm -rf ${srcdir}/$_hgmod
  27. }
RAW Paste Data
Top