[arch-commits] Commit in weechat/repos (3 files)

2019-11-12 Thread Filipe LaĆ­ns via arch-commits
Date: Tuesday, November 12, 2019 @ 10:31:08
  Author: ffy00
Revision: 526975

archrelease: copy trunk to community-testing-x86_64

Added:
  weechat/repos/community-testing-x86_64/
  weechat/repos/community-testing-x86_64/PKGBUILD
(from rev 526974, weechat/trunk/PKGBUILD)
  weechat/repos/community-testing-x86_64/weechat-python38.patch
(from rev 526974, weechat/trunk/weechat-python38.patch)

+
 PKGBUILD   |   48 ++
 weechat-python38.patch | 1084 +++
 2 files changed, 1132 insertions(+)

Copied: weechat/repos/community-testing-x86_64/PKGBUILD (from rev 526974, 
weechat/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-11-12 10:31:08 UTC (rev 526975)
@@ -0,0 +1,48 @@
+# Maintainer : Christian Rebischke 
+# Maintainer : Eli Schwartz 
+# Contributor: Giovanni Scafora 
+# Contributor: lucke 
+
+pkgname=weechat
+pkgver=2.6
+pkgrel=5
+pkgdesc="Fast, light and extensible IRC client (curses UI)"
+arch=('x86_64')
+url="https://www.weechat.org/;
+license=('GPL')
+depends=('gnutls' 'curl' 'libgcrypt')
+makedepends=('asciidoctor' 'cmake' 'aspell' 'guile2.0' 'lua' 'perl' 'python' 
'ruby' 'tcl')
+optdepends=('aspell: spellchecker support'
+'guile2.0: support for guile scripts'
+'lua: support for lua scripts'
+'perl: support for perl scripts'
+'python: support for python scripts'
+'ruby: support for ruby scripts'
+'tcl: support for tcl scripts')
+source=("https://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.xz"{,.asc}
+"weechat-python38.patch")
+sha512sums=('cf56692e12b2e034675d4c15a8822836b2fcf93d584948e338d263f5a7207edf4599cc72bfb940427146f5f75e7239207cf54f5ed07dd5b6119f68c445725a2d'
+'SKIP'
+
'a773c345ce691fb48838b3ac5faf427f2596299a0ec3807eee536ac59e3a29502f7379b6b7a43d2864ca4ae55aa57869547fa1c7d70fc3a1c524403f148d7c90')
+validpgpkeys=('A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8') # WeeChat (signing 
key) 
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  # https://github.com/weechat/weechat/pull/1421
+  patch -p1 -i ../weechat-python38.patch
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake -Wno-dev "${srcdir}/${pkgname}-${pkgver}" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DENABLE_MAN=ON \
+-DENABLE_DOC=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: weechat/repos/community-testing-x86_64/weechat-python38.patch (from rev 
526974, weechat/trunk/weechat-python38.patch)
===
--- community-testing-x86_64/weechat-python38.patch 
(rev 0)
+++ community-testing-x86_64/weechat-python38.patch 2019-11-12 10:31:08 UTC 
(rev 526975)
@@ -0,0 +1,1084 @@
+From 7208b0ff915fef14431474a397157a847bfc8661 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Sun, 10 Nov 2019 09:23:59 -0500
+Subject: [PATCH 1/3] cmake: vendor in a new version of FindPkgConfig
+
+The current one is anciently ancient, and dates back to commit
+4d2925ef1c3dd5df288be7358b60cbb0926e which vendored this "for old
+versions of cmake". Well, currently it just stops using new versions of
+FindPkgConfig, so we're stuck on the 2006 version from cmake 2.5.0.
+
+Instead of deleting it entirely (the minimum version of cmake is
+currently 3.0) make this vendored file continue to be useful by using it
+to vendor in the latest version of FindPkgConfig from cmake 3.16.0-rc3
+with a bunch of useful improvements.
+---
+ cmake/FindPkgConfig.cmake | 788 +-
+ 1 file changed, 600 insertions(+), 188 deletions(-)
+
+diff --git a/cmake/FindPkgConfig.cmake b/cmake/FindPkgConfig.cmake
+index 360415309..5162a44b3 100644
+--- a/cmake/FindPkgConfig.cmake
 b/cmake/FindPkgConfig.cmake
+@@ -1,117 +1,60 @@
+-# - a pkg-config module for CMake
+-#
+-# Usage:
+-#   pkg_check_modules( [REQUIRED]  []*)
+-# checks for all the given modules
+-#
+-#   pkg_search_module( [REQUIRED]  []*)
+-# checks for given modules and uses the first working one
+-#
+-# When the 'REQUIRED' argument was set, macros will fail with an error
+-# when module(s) could not be found
+-#
+-# It sets the following variables:
+-#   PKG_CONFIG_FOUND ... true iff pkg-config works on the system
+-#   PKG_CONFIG_EXECUTABLE... pathname of the pkg-config program
+-#   _FOUND   ... set to 1 iff module(s) exist
+-#
+-# For the following variables two sets of values exist; first one is the
+-# common one and has the given PREFIX. The second set contains flags
+-# which are given out when pkgconfig was called with the '--static'
+-# option.
+-#   _LIBRARIES  ... only the libraries (w/o the '-l')
+-#   _LIBRARY_DIRS   ... the paths of the libraries (w/o the 

[arch-commits] Commit in weechat/repos (3 files)

2012-06-02 Thread Florian Pritz
Date: Saturday, June 2, 2012 @ 06:29:08
  Author: bluewind
Revision: 160580

db-move: moved weechat from [testing] to [extra] (i686)

Added:
  weechat/repos/extra-i686/PKGBUILD
(from rev 160459, weechat/repos/testing-i686/PKGBUILD)
Deleted:
  weechat/repos/extra-i686/PKGBUILD
  weechat/repos/testing-i686/

--+
 PKGBUILD |   66 ++---
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-06-02 10:29:06 UTC (rev 160579)
+++ extra-i686/PKGBUILD 2012-06-02 10:29:08 UTC (rev 160580)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora giova...@archlinux.org
-# Contributor: lucke lucke at o2 dot pl
-
-pkgname=weechat
-pkgver=0.3.7
-pkgrel=1
-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' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
-optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
-options=('!libtool')
-source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
-md5sums=('62bb5002b2ba9e5816dfeededc3fa276')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  mkdir build
-  cd build
-  cmake .. -DPREFIX=/usr \
--DPYTHON_EXECUTABLE=/usr/bin/python2 \
--DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}/build
-
-  make DESTDIR=${pkgdir}/ install
-}

Copied: weechat/repos/extra-i686/PKGBUILD (from rev 160459, 
weechat/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-06-02 10:29:08 UTC (rev 160580)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora giova...@archlinux.org
+# Contributor: lucke lucke at o2 dot pl
+
+pkgname=weechat
+pkgver=0.3.7
+pkgrel=2
+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' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+options=('!libtool')
+source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
+md5sums=('62bb5002b2ba9e5816dfeededc3fa276')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  mkdir build
+  cd build
+  cmake .. -DPREFIX=/usr \
+-DPYTHON_EXECUTABLE=/usr/bin/python2 \
+-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}/build
+
+  make DESTDIR=${pkgdir}/ install
+}



[arch-commits] Commit in weechat/repos (3 files)

2012-06-02 Thread Florian Pritz
Date: Saturday, June 2, 2012 @ 06:29:09
  Author: bluewind
Revision: 160581

db-move: moved weechat from [testing] to [extra] (x86_64)

Added:
  weechat/repos/extra-x86_64/PKGBUILD
(from rev 160459, weechat/repos/testing-x86_64/PKGBUILD)
Deleted:
  weechat/repos/extra-x86_64/PKGBUILD
  weechat/repos/testing-x86_64/

--+
 PKGBUILD |   66 ++---
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2012-06-02 10:29:08 UTC (rev 160580)
+++ extra-x86_64/PKGBUILD   2012-06-02 10:29:09 UTC (rev 160581)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora giova...@archlinux.org
-# Contributor: lucke lucke at o2 dot pl
-
-pkgname=weechat
-pkgver=0.3.7
-pkgrel=1
-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' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
-optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
-options=('!libtool')
-source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
-md5sums=('62bb5002b2ba9e5816dfeededc3fa276')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  mkdir build
-  cd build
-  cmake .. -DPREFIX=/usr \
--DPYTHON_EXECUTABLE=/usr/bin/python2 \
--DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}/build
-
-  make DESTDIR=${pkgdir}/ install
-}

Copied: weechat/repos/extra-x86_64/PKGBUILD (from rev 160459, 
weechat/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2012-06-02 10:29:09 UTC (rev 160581)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora giova...@archlinux.org
+# Contributor: lucke lucke at o2 dot pl
+
+pkgname=weechat
+pkgver=0.3.7
+pkgrel=2
+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' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+options=('!libtool')
+source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
+md5sums=('62bb5002b2ba9e5816dfeededc3fa276')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  mkdir build
+  cd build
+  cmake .. -DPREFIX=/usr \
+-DPYTHON_EXECUTABLE=/usr/bin/python2 \
+-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}/build
+
+  make DESTDIR=${pkgdir}/ install
+}



[arch-commits] Commit in weechat/repos (3 files)

2012-05-27 Thread Florian Pritz
Date: Sunday, May 27, 2012 @ 03:44:42
  Author: bluewind
Revision: 159940

db-move: moved weechat from [staging] to [testing] (i686)

Added:
  weechat/repos/testing-i686/
  weechat/repos/testing-i686/PKGBUILD
(from rev 159819, weechat/repos/staging-i686/PKGBUILD)
Deleted:
  weechat/repos/staging-i686/

--+
 PKGBUILD |   33 +
 1 file changed, 33 insertions(+)

Copied: weechat/repos/testing-i686/PKGBUILD (from rev 159819, 
weechat/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-05-27 07:44:42 UTC (rev 159940)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora giova...@archlinux.org
+# Contributor: lucke lucke at o2 dot pl
+
+pkgname=weechat
+pkgver=0.3.7
+pkgrel=2
+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' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+options=('!libtool')
+source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
+md5sums=('62bb5002b2ba9e5816dfeededc3fa276')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  mkdir build
+  cd build
+  cmake .. -DPREFIX=/usr \
+-DPYTHON_EXECUTABLE=/usr/bin/python2 \
+-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}/build
+
+  make DESTDIR=${pkgdir}/ install
+}



[arch-commits] Commit in weechat/repos (3 files)

2012-05-27 Thread Florian Pritz
Date: Sunday, May 27, 2012 @ 03:44:44
  Author: bluewind
Revision: 159941

db-move: moved weechat from [staging] to [testing] (x86_64)

Added:
  weechat/repos/testing-x86_64/
  weechat/repos/testing-x86_64/PKGBUILD
(from rev 159819, weechat/repos/staging-x86_64/PKGBUILD)
Deleted:
  weechat/repos/staging-x86_64/

--+
 PKGBUILD |   33 +
 1 file changed, 33 insertions(+)

Copied: weechat/repos/testing-x86_64/PKGBUILD (from rev 159819, 
weechat/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-05-27 07:44:44 UTC (rev 159941)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora giova...@archlinux.org
+# Contributor: lucke lucke at o2 dot pl
+
+pkgname=weechat
+pkgver=0.3.7
+pkgrel=2
+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' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+options=('!libtool')
+source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
+md5sums=('62bb5002b2ba9e5816dfeededc3fa276')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  mkdir build
+  cd build
+  cmake .. -DPREFIX=/usr \
+-DPYTHON_EXECUTABLE=/usr/bin/python2 \
+-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}/build
+
+  make DESTDIR=${pkgdir}/ install
+}



[arch-commits] Commit in weechat/repos (3 files)

2011-08-18 Thread andyrtr
Date: Thursday, August 18, 2011 @ 11:04:51
  Author: andyrtr
Revision: 135811

db-move: moved weechat from [testing] to [extra] (i686)

Added:
  weechat/repos/extra-i686/PKGBUILD
(from rev 135766, weechat/repos/testing-i686/PKGBUILD)
Deleted:
  weechat/repos/extra-i686/PKGBUILD
  weechat/repos/testing-i686/

--+
 PKGBUILD |   66 ++---
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-08-18 15:04:49 UTC (rev 135810)
+++ extra-i686/PKGBUILD 2011-08-18 15:04:51 UTC (rev 135811)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora giova...@archlinux.org
-# Contributor: lucke lucke at o2 dot pl
-
-pkgname=weechat
-pkgver=0.3.5
-pkgrel=2
-pkgdesc=Fast, light and extensible IRC client (curses UI)
-arch=('i686' 'x86_64')
-url=http://www.weechat.org/;
-license=('GPL')
-depends=('gnutls')
-makedepends=('cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
-optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
-options=('!libtool')
-source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
-md5sums=('0d2a089bfbfa550e0c65618a171fb3c4')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  mkdir build
-  cd build
-  cmake .. -DPREFIX=/usr \
--DPYTHON_EXECUTABLE=/usr/bin/python2 \
--DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}/build
-
-  make DESTDIR=${pkgdir}/ install
-}

Copied: weechat/repos/extra-i686/PKGBUILD (from rev 135766, 
weechat/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-08-18 15:04:51 UTC (rev 135811)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora giova...@archlinux.org
+# Contributor: lucke lucke at o2 dot pl
+
+pkgname=weechat
+pkgver=0.3.5
+pkgrel=3
+pkgdesc=Fast, light and extensible IRC client (curses UI)
+arch=('i686' 'x86_64')
+url=http://www.weechat.org/;
+license=('GPL')
+depends=('gnutls')
+makedepends=('cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+options=('!libtool')
+source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
+md5sums=('0d2a089bfbfa550e0c65618a171fb3c4')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  mkdir build
+  cd build
+  cmake .. -DPREFIX=/usr \
+-DPYTHON_EXECUTABLE=/usr/bin/python2 \
+-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}/build
+
+  make DESTDIR=${pkgdir}/ install
+}



[arch-commits] Commit in weechat/repos (3 files)

2011-08-18 Thread andyrtr
Date: Thursday, August 18, 2011 @ 11:04:52
  Author: andyrtr
Revision: 135812

db-move: moved weechat from [testing] to [extra] (x86_64)

Added:
  weechat/repos/extra-x86_64/PKGBUILD
(from rev 135766, weechat/repos/testing-x86_64/PKGBUILD)
Deleted:
  weechat/repos/extra-x86_64/PKGBUILD
  weechat/repos/testing-x86_64/

--+
 PKGBUILD |   66 ++---
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2011-08-18 15:04:51 UTC (rev 135811)
+++ extra-x86_64/PKGBUILD   2011-08-18 15:04:52 UTC (rev 135812)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora giova...@archlinux.org
-# Contributor: lucke lucke at o2 dot pl
-
-pkgname=weechat
-pkgver=0.3.5
-pkgrel=2
-pkgdesc=Fast, light and extensible IRC client (curses UI)
-arch=('i686' 'x86_64')
-url=http://www.weechat.org/;
-license=('GPL')
-depends=('gnutls')
-makedepends=('cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
-optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
-options=('!libtool')
-source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
-md5sums=('0d2a089bfbfa550e0c65618a171fb3c4')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  mkdir build
-  cd build
-  cmake .. -DPREFIX=/usr \
--DPYTHON_EXECUTABLE=/usr/bin/python2 \
--DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}/build
-
-  make DESTDIR=${pkgdir}/ install
-}

Copied: weechat/repos/extra-x86_64/PKGBUILD (from rev 135766, 
weechat/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2011-08-18 15:04:52 UTC (rev 135812)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora giova...@archlinux.org
+# Contributor: lucke lucke at o2 dot pl
+
+pkgname=weechat
+pkgver=0.3.5
+pkgrel=3
+pkgdesc=Fast, light and extensible IRC client (curses UI)
+arch=('i686' 'x86_64')
+url=http://www.weechat.org/;
+license=('GPL')
+depends=('gnutls')
+makedepends=('cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+options=('!libtool')
+source=(http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2;)
+md5sums=('0d2a089bfbfa550e0c65618a171fb3c4')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  mkdir build
+  cd build
+  cmake .. -DPREFIX=/usr \
+-DPYTHON_EXECUTABLE=/usr/bin/python2 \
+-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}/build
+
+  make DESTDIR=${pkgdir}/ install
+}