Advertisement
Guest User

Untitled

a guest
Jun 13th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. # Contributor: zoulnix <http://goo.gl/HQaP>
  2. pkgname=g15mpd
  3. pkgver=1.0.0
  4. pkgrel=3
  5. pkgdesc="A simple frontend for the Media Player Daemon, for use with G15Daemon."
  6. arch=('i686' 'x86_64')
  7. url="http://www.g15tools.com/"
  8. license=('GPL')
  9. depends=('g15daemon' 'libmpd' 'libxtst')
  10. makedepends=('autoconf' 'automake' 'gcc' 'libtool' 'make' 'patch' 'pkg-config')
  11. options=('!libtool')
  12. source=(http://downloads.sourceforge.net/g15daemon/${pkgname}-${pkgver}.tar.bz2 \
  13. ${pkgname}-libmpdheader.patch)
  14. md5sums=('20f44c69b121750c27879e04c2cdff60' '6392a59672f0b737535a9bcf04ba49a0')
  15.  
  16. build() {
  17. cd ${srcdir}/${pkgname}-${pkgver}
  18.  
  19. # apply patches...
  20. patch -Np1 -i ../${pkgname}-libmpdheader.patch || return 1
  21.  
  22. # Generating build system
  23. sh autogen.sh || return 1
  24.  
  25. ./configure --prefix=/usr \
  26. --sysconfdir=/etc \
  27. --localstatedir=/var \
  28. --disable-static
  29.  
  30. sed -i '/gcc/ s/$/ -pthread/' Makefile
  31.  
  32. make || return 1
  33. }
  34.  
  35. package() {
  36. cd ${srcdir}/${pkgname}-${pkgver}
  37.  
  38. make DESTDIR=${pkgdir} install || return 1
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement