Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 18th, 2010  |  syntax: Diff  |  size: 1.22 KB  |  views: 107  |  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. --- razercfg-git/PKGBUILD       1970-01-01 10:13:08.000000000 +0100
  2. +++ razercfg-git/PKGBUILD-new   2010-11-18 20:08:40.656666731 +0100
  3. @@ -3,3 +3,3 @@
  4.  pkgrel=1
  5. -pkgver=20100814
  6. +pkgver=20101118
  7.  pkgdesc="The next generation Razer device configuration tool."
  8. @@ -10,3 +10,3 @@
  9.  md5sums=()
  10. -depends=('python' 'libusb' 'pyqt')
  11. +depends=('python2' 'libusb' 'pyqt')
  12.  makedepends=('git' 'cmake')
  13. @@ -22,5 +22,5 @@
  14.  build() {
  15. -    cd ${startdir}/src
  16. +    cd ${srcdir}
  17.      msg "Connecting to ${_gitroot} GIT server...."
  18. -    if [[ -d ${startdir}/src/${_gitname} ]] ; then
  19. +    if [[ -d ${srcdir}/${_gitname} ]] ; then
  20.          cd ${_gitname}
  21. @@ -34,2 +34,3 @@
  22.      cd ${_gitname}
  23. +       sed 's|/usr/bin/env python|/usr/bin/python2|g' -i ui/{{q,}razercfg,pyrazer.py}
  24.      cmake  -DCMAKE_INSTALL_PREFIX=/usr . || return 1
  25. @@ -40,5 +41,4 @@
  26.      rm ${pkgdir}/etc/udev/rules.d/01-razer-udev.rules || return 1
  27. -    
  28. -    install -m755 -d $startdir/pkg/usr/share/applications || return 1
  29. -    install -m644 $startdir/razercfg.desktop $startdir/pkg/usr/share/applications || return 1
  30. +    install -m755 -d ${pkgdir}/usr/share/applications || return 1
  31. +    install -m644 $startdir/razercfg.desktop ${pkgdir}/usr/share/applications || return 1
clone this paste RAW Paste Data