From 8c93845ab2fb9d7d3b61abff1c3520eb2417ab10 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 6 Jun 2014 06:25:22 -0300 Subject: hexchat-libre-2.10.0-2: fix FS#40693 => https://bugs.archlinux.org/task/40693 --- libre/hexchat-libre/PKGBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'libre') diff --git a/libre/hexchat-libre/PKGBUILD b/libre/hexchat-libre/PKGBUILD index a4a345635..1b7bfd241 100644 --- a/libre/hexchat-libre/PKGBUILD +++ b/libre/hexchat-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 112452 2014-06-02 10:30:28Z alucryd $ +# $Id: PKGBUILD 112695 2014-06-05 09:20:43Z alucryd $ # Maintainer (Arch): Maxime Gauduin # Contributor (Arch): TingPing # Maintainer: André Silva @@ -6,7 +6,7 @@ _pkgname=hexchat pkgname=hexchat-libre pkgver=2.10.0 -pkgrel=1 +pkgrel=2 pkgdesc='A popular and easy to use graphical IRC (chat) client, without nonfree browser reference (Parabola rebranded)' arch=('i686' 'x86_64' 'mips64el') url='http://hexchat.github.io/' @@ -23,17 +23,23 @@ provides=($_pkgname=$pkgver) source=("http://dl.hexchat.org/${_pkgname}/${_pkgname}-${pkgver}.tar.xz") sha256sums=('a0247f1e12379154d0719d9c6861dc22817b588562653bb9d3626863d8eca916') -build() { +prepare() { cd ${_pkgname}-${pkgver} + sed 's/CFLAGS="$PERL_CFLAGS"/CFLAGS="$PERL_CFLAGS -fuse-ld=gold"/' -i configure + # Rebrand to Parabola sed -i 's#ArchLinux#Parabola GNU/Linux-libre#' plugins/sysinfo/parse.c # Remove nonfree browser references sed -i '\|NAME Open Link| s|Firefox|Iceweasel|' src/common/hexchat.c sed -i '\|NAME Open Link| s|firefox -private %s\\n\\n";|iceweasel -private %s\\n\\n"\\\n "NAME Open Link in Private Icecat Window\\n" "CMD !icecat -private %s\\n\\n";|' src/common/hexchat.c +} + +build() { + cd ${_pkgname}-${pkgver} - ./configure --prefix='/usr' --enable-{python='python3.4',textfe} + ./configure --prefix='/usr' --enable-{perl,python='python3.4',textfe} make } -- cgit v1.2.3