Guest User

Untitled

a guest
Jan 7th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.33 KB | None | 0 0
  1. # Maintainer:  Marcin (CTRL) Wieczorek <marcin@marcin.co>
  2. # Contributor: Scott Furry <scott.wl.furry@gmail.com>
  3. # Contributor: Maxime Gauduin <alucryd@archlinux.org>
  4. # Contributor: Sial <sial@cpan.org>
  5. # Contributor: Martin Herndl <martin.herndl@gmail.com>
  6.  
  7. pkgname=guayadeque
  8. pkgver=0.4.3
  9. pkgrel=1
  10. pkgdesc='Lightweight music player'
  11. arch=('i686' 'x86_64')
  12. url='http://guayadeque.org/'
  13. license=('GPL3')
  14. depends=('curl' 'libgpod' 'taglib' 'wxsqlite3' 'gst-plugins-base')
  15. makedepends=('cmake')
  16. optdepends=('gst-plugins-good: Support for PulseAudio and additional file formats'
  17.             'gst-plugins-bad: Support for additional file formats'
  18.             'gst-plugins-ugly: Support for additional file formats'
  19.             'gst-libav: Support for additional file formats'
  20.             'gvfs: Support for external devices')
  21. source=("https://github.com/anonbeat/guayadeque/archive/v${pkgver}.tar.gz")
  22. sha256sums=('43d925c6dc30c1f9e2e8182b10de6a9076d962877779f6b9e0194d1ee79a07d8')
  23.  
  24. _BUILDFLDR='localbuild'
  25.  
  26. build() {
  27.   cd ${pkgname}-${pkgver}
  28.  
  29.   ./buildt
  30.   mkdir -p ${_BUILDFLDR} && cd ${_BUILDFLDR}
  31.  
  32.   cmake .. \
  33.     -DCMAKE_BUILD_TYPE='Release' \
  34.     -DCMAKE_INSTALL_PREFIX='/usr' \
  35.     -D_GUREVISION_:STRING="${pkgrel}"
  36.   make
  37. }
  38.  
  39. package() {
  40.   cd ${pkgname}-${pkgver}/${_BUILDFLDR}
  41.  
  42.   make DESTDIR="${pkgdir}" install
  43. }
Add Comment
Please, Sign In to add comment