aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ba3749..75ba06f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -21,7 +21,7 @@ pkgbase = weechat-git
depends = ncurses-git
depends = libgcrypt
optdepends = perl
- optdepends = python
+ optdepends = python2
optdepends = lua
optdepends = tcl
optdepends = ruby
diff --git a/PKGBUILD b/PKGBUILD
index d53e1b0..5c37ea6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
license=('GPL3')
depends=('gnutls' 'ncurses-git' 'libgcrypt')
-optdepends=('perl' 'python' 'lua' 'tcl' 'ruby' 'aspell')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
makedepends=('git' 'cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
provides=('weechat')
@@ -28,9 +28,8 @@ pkgver(){
build() {
cd weechat
cmake -DPREFIX=/usr \
- -DENABLE_PYTHON3=ON \
- -DPYTHON_EXECUTABLE=/usr/bin/python \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.so\
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so\
-DENABLE_MAN=ON \
-DENABLE_DOC=OFF \
-DWEECHAT_HOME=~/.config/weechat