summaryrefslogtreecommitdiff
path: root/libre/hexchat-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-06 06:25:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-06 06:25:22 -0300
commit8c93845ab2fb9d7d3b61abff1c3520eb2417ab10 (patch)
tree44cf11b5e112b5b378efb09ef80dc27140af6001 /libre/hexchat-libre
parent376b74ce491cb0004fc6976d025eb1e11f15d5e5 (diff)
downloadabslibre-8c93845ab2fb9d7d3b61abff1c3520eb2417ab10.tar.gz
abslibre-8c93845ab2fb9d7d3b61abff1c3520eb2417ab10.tar.bz2
abslibre-8c93845ab2fb9d7d3b61abff1c3520eb2417ab10.zip
hexchat-libre-2.10.0-2: fix FS#40693 => https://bugs.archlinux.org/task/40693
Diffstat (limited to 'libre/hexchat-libre')
-rw-r--r--libre/hexchat-libre/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
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 <alucryd@gmail.com>
# Contributor (Arch): TingPing <tingping@tingping.se>
# Maintainer: André Silva <emulatorman@parabola.nu>
@@ -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
}