Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 5th, 2013  |  syntax: Bash  |  size: 1.08 KB  |  views: 74  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  Contributor: Nuno Araujo <nuno.araujo at russo79.com>                                                                                                                                                      
  2. # Contributor: Charles Lindsay <charles@chaoslizard.org>
  3. # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
  4. pkgname=gcdemu
  5. pkgver=2.0.0
  6. pkgrel=1
  7. pkgdesc="GNOME panel applet controlling cdemu-daemon"
  8. arch=('i686' 'x86_64')
  9. url="http://cdemu.sourceforge.net/"
  10. license=('GPL2')
  11. depends=('cdemu-daemon' 'python2' 'python2-gobject' 'python2-notify' 'gtk3')
  12. makedepends=('cmake intltool')
  13. install=gcdemu.install
  14. source=(http://downloads.sourceforge.net/cdemu/${pkgname}-${pkgver}.tar.bz2)
  15. md5sums=('31691b368ffa9e34b6b776cb7adeebd9')
  16.  
  17. build() {
  18.   cd "${srcdir}/${pkgname}-${pkgver}"
  19.  
  20.   sed -i '1s/python/python2/g' src/gcdemu
  21.   sed -i '9s/false/true/g' data/net.sf.cdemu.gcdemu.gschema.xml.in
  22.  
  23.   PYTHON=python2 cmake -DPOST_INSTALL_HOOKS=off -DCMAKE_INSTALL_PREFIX=/usr
  24.   make
  25. }
  26.  
  27. package() {
  28.   cd "${srcdir}/${pkgname}-${pkgver}"
  29.  
  30.   make DESTDIR=${pkgdir} install
  31. }