# Contributor: Ɓukasz Jendrysik # Maintainer: Leonardo Arena pkgname=weechat pkgver=1.1.1 pkgrel=0 pkgdesc="A fast, light, extensible ncurses-based chat client" url="http://www.weechat.org" arch="all" license="GPL3+" depends="" depends_dev="cmake libintl ncurses-dev gnutls-dev libgcrypt-dev lua-dev aspell-dev perl-dev python-dev curl-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-dev" source="http://www.weechat.org/files/src/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" mkdir -p build cd build cmake .. -DPREFIX=/usr || return 1 } package() { cd "$_builddir"/build make DESTDIR="$pkgdir/" install || return 1 } md5sums="f4b008d10f4647f07cd22e1db0c1a789 weechat-1.1.1.tar.gz" sha256sums="a32f7e57d5e834195bacaffa874419b4a9d17cd42883c80d7ecb9fadbf601349 weechat-1.1.1.tar.gz" sha512sums="98d55d9551a0d24d73ded1f83ee164cfd0a90b9651c66bb0cb6c362ec7316c6d71ab1f267180066ef0a00168f71bddd8205b22f7a6c818b2eb5a4c1cff6784be weechat-1.1.1.tar.gz"