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

PKGBUILD for custom branch for xbmc-git (AUR)

By: a guest on Mar 19th, 2014  |  syntax: Diff  |  size: 0.49 KB  |  views: 372  |  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. --- a/PKGBUILD   2014-02-03 08:39:07.000000000 -0700
  2. +++ b/PKGBUILD   2014-03-16 10:14:05.133267456 -0600
  3. @@ -11,7 +11,8 @@
  4.  
  5.  pkgname=xbmc-git
  6.  _gitname='xbmc'
  7.  pkgver=20140202.65ad3ae
  8. +_gitbranch='Gotham_beta2'
  9.  pkgrel=1
  10.  pkgdesc="XBMC Media Center git master branch"
  11.  provides=('xbmc')
  12. @@ -51,6 +52,7 @@
  13.  
  14.  pkgver() {
  15.         cd "$srcdir/$_gitname"
  16. +        git checkout "$_gitbranch"
  17.         # suggested by marzoul
  18.         git log -1 --date=short --format="%cd.%h" | tr -d '-'
  19.  }