From 8aa7bc47de1201a8e3ffd02535666a0c1dd465a1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 27 May 2012 12:45:23 +0200 Subject: [PATCH] weechat: rebuild against perl-5.16. --- srcpkgs/weechat/template | 8 +++----- srcpkgs/weechat/weechat-aspell.template | 10 +++------- srcpkgs/weechat/weechat-devel.template | 12 +++++------- srcpkgs/weechat/weechat-lua.template | 10 +++------- srcpkgs/weechat/weechat-perl.template | 10 +++------- srcpkgs/weechat/weechat-python.template | 10 +++------- srcpkgs/weechat/weechat-tcl.template | 10 +++------- 7 files changed, 23 insertions(+), 47 deletions(-) diff --git a/srcpkgs/weechat/template b/srcpkgs/weechat/template index cdc7bf1f7e..d15b75840e 100644 --- a/srcpkgs/weechat/template +++ b/srcpkgs/weechat/template @@ -1,10 +1,12 @@ # Template file for 'weechat' pkgname=weechat version=0.3.7 +revision=1 homepage="http://www.weechat.org" distfiles="${homepage}/files/src/$pkgname-$version.tar.bz2" build_style=cmake -makedepends="cmake perl pkg-config tcl-devel aspell-devel libgcrypt-devel gnutls-devel python-devel ruby-devel lua-devel libcurl-devel" +subpackages="weechat-aspell weechat-devel weechat-perl weechat-python weechat-ruby weechat-tcl weechat-lua" +makedepends="cmake perl>=5.16 pkg-config tcl-devel aspell-devel libgcrypt-devel gnutls-devel python-devel ruby-devel lua-devel libcurl-devel" short_desc="Fast, light and extensible IRC client (curses UI)" maintainer="Juan RP " license="GPL-3" @@ -16,7 +18,3 @@ long_desc=" - extensible: C plugins and scripts (Perl, Python, Ruby, Lua and Tcl) - free software: released under GPLv3 license - fully documented: user's guide, API, FAQ,.. translated in many languages" - -subpackages="$pkgname-aspell $pkgname-devel $pkgname-perl $pkgname-python" -subpackages="${subpackages} $pkgname-ruby $pkgname-tcl $pkgname-lua" - diff --git a/srcpkgs/weechat/weechat-aspell.template b/srcpkgs/weechat/weechat-aspell.template index e15d5e50ac..e77c7a05c7 100644 --- a/srcpkgs/weechat/weechat-aspell.template +++ b/srcpkgs/weechat/weechat-aspell.template @@ -1,15 +1,11 @@ # Template file for 'weechat-aspell'. # -depends="weechat>=0.3.7" +depends="weechat>=$version" short_desc="${sourcepkg} aspell add-on" long_desc="${long_desc} This package contains the aspell plugin." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/weechat/plugins - mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/aspell.so \ - ${DESTDIR}/usr/lib/weechat/plugins +do_install() { + vmove usr/lib/weechat/plugins/aspell.so usr/lib/weechat/plugins } diff --git a/srcpkgs/weechat/weechat-devel.template b/srcpkgs/weechat/weechat-devel.template index ef1120265a..349cb33aa3 100644 --- a/srcpkgs/weechat/weechat-devel.template +++ b/srcpkgs/weechat/weechat-devel.template @@ -1,15 +1,13 @@ # Template file for 'weechat-devel'. # -depends="cmake glibc-devel aspell-devel gnutls-devel libgcrypt-devel python-devel ruby-devel tcl-devel ncurses-devel" +noarch=yes +depends="ncurses-devel" short_desc="${sourcepkg} - development package" long_desc="${long_desc} This package contains development files." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib } diff --git a/srcpkgs/weechat/weechat-lua.template b/srcpkgs/weechat/weechat-lua.template index b773df5733..9eda541ccc 100644 --- a/srcpkgs/weechat/weechat-lua.template +++ b/srcpkgs/weechat/weechat-lua.template @@ -1,15 +1,11 @@ # Template file for 'weechat-lua'. # -depends="weechat>=0.3.7" +depends="weechat>=$version" short_desc="${sourcepkg} lua add-on" long_desc="${long_desc} This package contains the lua plugin." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/weechat/plugins - mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/lua.so \ - ${DESTDIR}/usr/lib/weechat/plugins +do_install() { + vmove usr/lib/weechat/plugins/lua.so usr/lib/weechat/plugins } diff --git a/srcpkgs/weechat/weechat-perl.template b/srcpkgs/weechat/weechat-perl.template index 6286db76ec..d9ab81b1f9 100644 --- a/srcpkgs/weechat/weechat-perl.template +++ b/srcpkgs/weechat/weechat-perl.template @@ -1,15 +1,11 @@ # Template file for 'weechat-perl'. # -depends="weechat>=0.3.7" +depends="perl>=5.16 weechat>=$version" short_desc="${sourcepkg} perl add-on" long_desc="${long_desc} This package contains the perl plugin." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/weechat/plugins - mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/perl.so \ - ${DESTDIR}/usr/lib/weechat/plugins +do_install() { + vmove usr/lib/weechat/plugins/perl.so usr/lib/weechat/plugins } diff --git a/srcpkgs/weechat/weechat-python.template b/srcpkgs/weechat/weechat-python.template index 76a1c808c8..3e124408d7 100644 --- a/srcpkgs/weechat/weechat-python.template +++ b/srcpkgs/weechat/weechat-python.template @@ -1,15 +1,11 @@ # Template file for 'weechat-python'. # -depends="weechat>=0.3.7" +depends="weechat>=$version" short_desc="${sourcepkg} python add-on" long_desc="${long_desc} This package contains the python plugin." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/weechat/plugins - mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/python.so \ - ${DESTDIR}/usr/lib/weechat/plugins +do_install() { + vmove usr/lib/weechat/plugins/python.so usr/lib/weechat/plugins } diff --git a/srcpkgs/weechat/weechat-tcl.template b/srcpkgs/weechat/weechat-tcl.template index c774b21f44..60dfdbc4e9 100644 --- a/srcpkgs/weechat/weechat-tcl.template +++ b/srcpkgs/weechat/weechat-tcl.template @@ -1,15 +1,11 @@ # Template file for 'weechat-tcl'. # -depends="weechat>=0.3.7" +depends="weechat>=$version" short_desc="${sourcepkg} tcl add-on" long_desc="${long_desc} This package contains the tcl plugin." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib/weechat/plugins - mv ${SRCPKGDESTDIR}/usr/lib/weechat/plugins/tcl.so \ - ${DESTDIR}/usr/lib/weechat/plugins +do_install() { + vmove usr/lib/weechat/plugins/tcl.so usr/lib/weechat/plugins }