main/weechat: build with ruby plugin and docs, avoid building in packaging step

This commit is contained in:
Christian Kampka 2015-11-02 10:46:10 +01:00 committed by Natanael Copa
parent ca130017af
commit 1536d342b5

View File

@ -2,18 +2,18 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=weechat
pkgver=1.3
pkgrel=2
pkgrel=3
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 curl-dev
aspell-dev lua-dev perl-dev python-dev"
makedepends="$depends_dev"
aspell-dev lua-dev perl-dev python-dev ruby-dev"
makedepends="$depends_dev asciidoc"
install=""
subpackages="$pkgname-dev $pkgname-aspell:_plugin $pkgname-lua:_plugin
$pkgname-perl:_plugin $pkgname-python:_plugin"
subpackages="$pkgname-dev $pkgname-doc $pkgname-aspell:_plugin $pkgname-lua:_plugin
$pkgname-perl:_plugin $pkgname-python:_plugin $pkgname-ruby:_plugin"
source="http://www.weechat.org/files/src/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
@ -26,7 +26,8 @@ build() {
cd "$_builddir"
mkdir -p build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr || return 1
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MAN=ON || return 1
make || return 1
}
package() {