summaryrefslogtreecommitdiff
path: root/libre/xchat-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/xchat-libre/PKGBUILD')
-rw-r--r--libre/xchat-libre/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/libre/xchat-libre/PKGBUILD b/libre/xchat-libre/PKGBUILD
index e7805a9b4..cc50fb44c 100644
--- a/libre/xchat-libre/PKGBUILD
+++ b/libre/xchat-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 176357 2013-01-30 21:29:22Z eric $
+# $Id: PKGBUILD 186065 2013-05-20 20:17:32Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
# Maintainer (ConnochaetOS): Henry Jensen <hjensen@connochaetos.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -6,8 +6,8 @@
_pkgname=xchat
pkgname=xchat-libre
pkgver=2.8.8
-pkgrel=12
-pkgdesc="A GTK+ based IRC client without non-free browser reference"
+pkgrel=13
+pkgdesc="A GTK+ based IRC client, without nonfree browser reference"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.xchat.org/"
provides=("xchat=$pkgver")
@@ -35,14 +35,18 @@ sha1sums=('e12305da42d1aacc26c2ca25e239f393d4dd3532'
'e6a3b69ba333fc7ba0f70792d78d44fba7c4a911'
'20aef0ae608af6b30e1b4249f9c53830f8f514f6')
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
+prepare() {
+ cd ${_pkgname}-${pkgver}
sed -i 's/GDK_HAND1/GDK_HAND2/' src/fe-gtk/xtext.c
patch -p1 -i "${srcdir}/xchat-2.8.8-libnotify07.patch"
patch -p1 -i "${srcdir}/xchat-2.8.8-link-against-libnotify.patch"
patch -p1 -i "${srcdir}/xchat-2.8.8-glib-2.31.patch"
patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch"
patch -p1 -i "${srcdir}/no-firefox.patch"
+}
+
+build() {
+ cd ${_pkgname}-${pkgver}
autoconf
autoheader
@@ -52,7 +56,7 @@ build() {
}
package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
+ cd ${_pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
for i in 24 32 48 64 128 256 ; do