weechat: update to 1.1

Install man pages.
This commit is contained in:
Alessio Sergi 2015-01-12 00:30:00 +01:00
parent 0e7c7d6d8b
commit 573f2748a2
1 changed files with 15 additions and 19 deletions

View File

@ -1,83 +1,79 @@
# Template file for 'weechat'
pkgname=weechat
version=1.0.1
revision=2
version=1.1
revision=1
lib32disabled=yes
build_style=cmake
hostmakedepends="cmake pkg-config python-devel libgcrypt-devel tcl-devel>=8.6"
configure_args="-DENABLE_MAN=ON"
hostmakedepends="cmake pkg-config python-devel libgcrypt-devel tcl-devel>=8.6 asciidoc"
makedepends="tcl-devel>=8.6 aspell-devel libgcrypt-devel gnutls-devel>=3.1.5
python-devel ruby-devel>=2.2 lua-devel>=5.2 libcurl-devel perl>=5.20"
python-devel ruby-devel>=2.2 lua-devel>=5.2 libcurl-devel"
depends="ca-certificates"
short_desc="Fast, light and extensible IRC client (curses UI)"
short_desc="Fast, light and extensible IRC client"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.weechat.org"
distfiles="${homepage}/files/src/$pkgname-$version.tar.bz2"
checksum=b9285ae5124798dee8e3d77cf4ec1e913699b1df1587b5cee6760ed518072ca8
checksum=d06f15d8b945a76fc6b0ecfad358dfe4ae812b6fc998e0e221e8c2f75e3fca2d
subpackages="weechat-aspell weechat-devel weechat-ruby weechat-python weechat-tcl weechat-lua"
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" perl>=5.20"
subpackages+=" weechat-perl"
fi
weechat-aspell_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - aspell plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/aspell.so
}
}
weechat-devel_package() {
lib32disabled=yes
depends="ncurses-devel"
depends="${sourcepkg}>=${version}_${revision} ncurses-devel"
short_desc+=" - development package"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
weechat-perl_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - perl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/perl.so
}
}
weechat-ruby_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - ruby plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/ruby.so
}
}
weechat-python_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} python"
short_desc+=" - python plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/python.so
}
}
weechat-tcl_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - tcl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/tcl.so
}
}
weechat-lua_package() {
lib32disabled=yes
depends="${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - lua plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/lua.so