[arch-commits] Commit in xchat-gnome/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Aug 18 03:05:16 UTC 2010
Date: Tuesday, August 17, 2010 @ 23:05:16
Author: allan
Revision: 87707
upgpkg: xchat-gnome 0.26.1-4
python rebuild
Modified:
xchat-gnome/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-08-18 02:03:02 UTC (rev 87706)
+++ PKGBUILD 2010-08-18 03:05:16 UTC (rev 87707)
@@ -4,17 +4,17 @@
pkgname=xchat-gnome
pkgver=0.26.1
-pkgrel=3
+pkgrel=4
pkgdesc="GNOME frontend to the popular X-Chat IRC client."
arch=('i686' 'x86_64')
license=('GPL')
url="http://xchat-gnome.navi.cx/"
depends=('libgnomeui>=2.18.1-2' 'libsexy>=0.1.11' 'gconf>=2.18.0.1-4'
'hicolor-icon-theme' 'desktop-file-utils' 'libcanberra' 'libsm')
-makedepends=('gettext' 'perlxml' 'python' 'tcl' 'libnotify' 'gnome-doc-utils>=0.10.3'
+makedepends=('gettext' 'perlxml' 'python2' 'tcl' 'libnotify' 'gnome-doc-utils>=0.10.3'
'intltool' 'pkgconfig')
optdepends=('libnotify: notifications'
- 'python: plugin'
+ 'python2: plugin'
'tcl: plugin')
install=xchat-gnome.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.26/${pkgname}-${pkgver}.tar.gz
@@ -30,11 +30,15 @@
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--enable-ipv6 --enable-shm \
- --disable-gtkfe --disable-scrollkeeper || return 1
- make || return 1
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+ --disable-gtkfe --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
- mkdir -p "$pkgdir/usr/share/gconf/schemas"
+ install -d "$pkgdir/usr/share/gconf/schemas"
gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/${pkgname}.schemas" \
"$pkgdir"/etc/gconf/schemas/*.schemas
rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
More information about the arch-commits
mailing list