[arch-commits] Commit in xchat/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Mon May 20 16:17:33 EDT 2013


    Date: Monday, May 20, 2013 @ 22:17:32
  Author: eric
Revision: 186065

upgpkg: xchat 2.8.8-13

Rebuild against perl 5.18

Modified:
  xchat/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-20 20:09:41 UTC (rev 186064)
+++ PKGBUILD	2013-05-20 20:17:32 UTC (rev 186065)
@@ -3,7 +3,7 @@
 
 pkgname=xchat
 pkgver=2.8.8
-pkgrel=12
+pkgrel=13
 pkgdesc="A GTK+ based IRC client"
 arch=('i686' 'x86_64')
 url="http://www.xchat.org/"
@@ -25,12 +25,16 @@
           '70c3cc29fc55ff35f701ef8ac23078b6e3761ce1'
           'aecaf6176a7cfd62555207b02f2793b360aa39da')
 
-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"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
   autoconf
   autoheader
 
@@ -40,7 +44,7 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
 
   for i in 24 32 48 64 128 256 ; do



More information about the arch-commits mailing list