summaryrefslogtreecommitdiff
path: root/libre/xchat-libre
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-13 19:04:06 +0000
committerroot <root@rshg047.dnsready.net>2011-06-13 19:04:06 +0000
commit7c64c5039335c73eaa1a402c417235e8ca9a5109 (patch)
treed53f2d1fc693b98b4a942b1bb1257bafbc67262a /libre/xchat-libre
parentad4b2565385561c6ff56f1f91c1e40115cf939d7 (diff)
Mon Jun 13 19:04:06 UTC 2011
Diffstat (limited to 'libre/xchat-libre')
-rw-r--r--libre/xchat-libre/PKGBUILD19
-rw-r--r--libre/xchat-libre/no-firefox.patch11
2 files changed, 22 insertions, 8 deletions
diff --git a/libre/xchat-libre/PKGBUILD b/libre/xchat-libre/PKGBUILD
index 8262e03be..0c0c0b6b1 100644
--- a/libre/xchat-libre/PKGBUILD
+++ b/libre/xchat-libre/PKGBUILD
@@ -4,7 +4,7 @@
pkgbasename=xchat
pkgname=xchat-libre
pkgver=2.8.8
-pkgrel=3
+pkgrel=3.1
pkgdesc="A GTK+ based IRC client without non-free browser reference"
arch=('i686' 'x86_64')
url="http://www.xchat.org/"
@@ -18,17 +18,14 @@ optdepends=('enchant: for spell checking support' 'tcl: for tcl plugin' \
'python2: for python plugin')
options=('!libtool')
changelog=ChangeLog
-source=(http://www.xchat.org/files/source/${pkgver%.*}/${pkgbasename}-${pkgver}.tar.xz remove-non-free-suggestion.patch)
-md5sums=('9a11f13121ff0af787bba3b014378e58'
- '47c665961f11a803e9a12007811a04c9')
-sha1sums=('e12305da42d1aacc26c2ca25e239f393d4dd3532'
- '05e673aa44813ddac8aabb251d5f0124efde91a2')
-
-
+source=(http://www.xchat.org/files/source/${pkgver%.*}/${pkgbasename}-${pkgver}.tar.xz
+ remove-non-free-suggestion.patch
+ no-firefox.patch)
build() {
cd "${srcdir}/${pkgbasename}-${pkgver}"
patch -p1 < ../remove-non-free-suggestion.patch
+ patch -p1 < ../no-firefox.patch
./configure --prefix=/usr --sysconfdir=/etc --enable-openssl --enable-dbus \
--disable-textfe --enable-ipv6 --enable-shm --enable-spell=static
make
@@ -39,3 +36,9 @@ package() {
make DESTDIR="${pkgdir}" install
}
+md5sums=('9a11f13121ff0af787bba3b014378e58'
+ '47c665961f11a803e9a12007811a04c9'
+ 'ba11c3e889509d1b46307d6ebf74509c')
+sha1sums=('e12305da42d1aacc26c2ca25e239f393d4dd3532'
+ '05e673aa44813ddac8aabb251d5f0124efde91a2'
+ '3a1c115c4436bdfb1882bcf93dedbe0d40dad9ae')
diff --git a/libre/xchat-libre/no-firefox.patch b/libre/xchat-libre/no-firefox.patch
new file mode 100644
index 000000000..7fb5190de
--- /dev/null
+++ b/libre/xchat-libre/no-firefox.patch
@@ -0,0 +1,11 @@
+--- xchat-2.8.8/src/fe-gtk/fe-gtk.c_orig 2011-06-02 04:25:03.386077554 +0200
++++ xchat-2.8.8/src/fe-gtk/fe-gtk.c 2011-06-02 04:25:14.959410608 +0200
+@@ -956,7 +956,7 @@
+ }
+
+ /* everything failed, what now? just try firefox */
+- if (try_browser ("firefox", NULL, url))
++ if (try_browser ("icecat", NULL, url))
+ return;
+
+ /* fresh out of ideas... */