# $Id: PKGBUILD 198485 2013-10-30 15:09:03Z allan $ # Maintainer: Giovanni Scafora # Contributor: lucke pkgname=weechat pkgver=0.4.2 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' 'pkg-config' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell' 'guile') optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell' 'guile') source=("http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2") md5sums=('fbbb4c319474d4a3b123fea7e8402fa2') prepare() { mkdir build } build() { cd build cmake ../${pkgname}-${pkgver} -DPREFIX=/usr \ -DPYTHON_EXECUTABLE=/usr/bin/python2 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so } package() { cd build make DESTDIR="${pkgdir}/" install }