# Maintainer: Daniel Wallace # Contributor: Dmitry Korzhevin # Contributor: Mark Foxwell # Contributor: Licia Todd # Contributor: Tim Zebulla # Contributor: Johannes Löthberg pkgname=weechat-git pkgver=0.4.3.r8.ga9aca06 pkgrel=1 pkgdesc="Fast, light & extensible IRC client (curses UI)" arch=('i686' 'x86_64') url="http://www.weechat.org/" license=('GPL3') depends=('gnutls' 'ncurses' 'libgcrypt') makedepends=('git' 'cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell') optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell') provides=('weechat') conflicts=('weechat') options=(!libtool) source=("git://git.savannah.nongnu.org/weechat.git") md5sums=('SKIP') pkgver(){ cd weechat git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } build() { cd weechat cmake -DPREFIX=/usr \ -DPYTHON_EXECUTABLE=/usr/bin/python2 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so\ -DENABLE_MAN=ON \ -DENABLE_DOC=OFF \ -DWEECHAT_HOME=~/.config/weechat make } package() { make -C weechat DESTDIR="$pkgdir" install }