Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

python2 fix for wmii-hg

By: a guest on Oct 14th, 2010  |  syntax: Diff  |  size: 0.82 KB  |  hits: 278  |  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. --- PKGBUILD.old        2010-10-14 10:40:34.000000000 +0200
  2. +++ PKGBUILD    2010-10-14 10:41:54.000000000 +0200
  3. @@ -11,7 +11,7 @@
  4.  depends=("libx11" "libxinerama" "libxrandr" "libxft")
  5.  makedepends=("mercurial" "txt2tags" "libixp-hg")
  6.  optdepends=("plan9port: for use of the alternative plan9port wmiirc" \
  7. -       "python: for use of the alternative Python wmiirc" \
  8. +       "python2: for use of the alternative Python wmiirc" \
  9.         "ruby-rumai: for use of the alternative Ruby wmiirc")
  10.  provides=("wmii")
  11.  conflicts=("wmii")
  12. @@ -24,7 +24,7 @@
  13.  build() {
  14.         cd ${srcdir}/${_hgrepo}
  15.  
  16. -       _flags=("PREFIX=/usr" "ETC=/etc" "DESTDIR=${pkgdir}")
  17. +       _flags=("PREFIX=/usr" "ETC=/etc" "DESTDIR=${pkgdir}" "PYTHON=python2")
  18.  
  19.         make ${_flags[@]} all || return 1
  20.         make ${_flags[@]} install || return 1