[arch-commits] Commit in weechat/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Sep 7 16:40:14 UTC 2013
Date: Saturday, September 7, 2013 @ 18:40:13
Author: andrea
Revision: 193945
upgpkg: weechat 0.4.1-4
Switch back to python 2 as 3.3 isn't supported yet, see FS#36817
Modified:
weechat/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-07 15:30:07 UTC (rev 193944)
+++ PKGBUILD 2013-09-07 16:40:13 UTC (rev 193945)
@@ -4,30 +4,31 @@
pkgname=weechat
pkgver=0.4.1
-pkgrel=3
+pkgrel=4
pkgdesc="Fast, light and extensible IRC client (curses UI)"
arch=('i686' 'x86_64')
url="http://www.weechat.org/"
license=('GPL')
depends=('gnutls' 'curl' 'libgcrypt')
-makedepends=('cmake' 'pkg-config' 'perl' 'python' 'lua' 'tcl' 'ruby' 'aspell' 'guile')
-optdepends=('perl' 'python' 'lua' 'tcl' 'ruby' 'aspell' 'guile')
+makedepends=('cmake' 'pkg-config' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell' 'guile')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell' 'guile')
options=('!libtool')
source=("http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('071d6f1cd21c892cae126af21095c43f')
+prepare() {
+ mkdir build
+}
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- mkdir build
cd build
- cmake .. -DPREFIX=/usr \
- -DPYTHON_EXECUTABLE=/usr/bin/python3 \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.so
+ cmake ../${pkgname}-${pkgver} -DPREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
+ cd build
make DESTDIR="${pkgdir}/" install
}
More information about the arch-commits
mailing list