summaryrefslogtreecommitdiff
path: root/community/gnome-system-tools
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-system-tools')
-rw-r--r--community/gnome-system-tools/PKGBUILD23
-rw-r--r--community/gnome-system-tools/po.patch14
2 files changed, 29 insertions, 8 deletions
diff --git a/community/gnome-system-tools/PKGBUILD b/community/gnome-system-tools/PKGBUILD
index aef106546..fc8daf9aa 100644
--- a/community/gnome-system-tools/PKGBUILD
+++ b/community/gnome-system-tools/PKGBUILD
@@ -1,27 +1,34 @@
-# $Id: PKGBUILD 44473 2011-04-07 19:13:54Z ibiru $
+# $Id: PKGBUILD 53804 2011-08-08 09:59:18Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugodoria@archlinux-br.org>
pkgname=gnome-system-tools
pkgver=3.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Gnome System Configuration Utilities"
arch=('i686' 'x86_64')
url="http://www.gnome.org/projects/gst/"
license=('GPL')
options=('!libtool')
depends=('wireless_tools' 'liboobs' 'nautilus' 'polkit-gnome' 'dconf')
-makedepends=('gnome-doc-utils' 'intltool')
+makedepends=('gnome-doc-utils' 'intltool' 'gnome-common')
install=gnome-system-tools.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('905df26c02f00a6c2c18706ba3db7eab764e3df6576289e103504aa39a47ae0b')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2
+ po.patch)
+sha256sums=('905df26c02f00a6c2c18706ba3db7eab764e3df6576289e103504aa39a47ae0b'
+ '827c3169ae5060403b3f833b0f9c1d5cefe1d80aa5ade22e2ff7908b1ce1b5ef')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
+ patch -Np1 -i "${srcdir}/po.patch"
+ gnome-autogen.sh
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-scrollkeeper --disable-static \
- --disable-services --disable-schemas-compile
+ --localstatedir=/var --disable-scrollkeeper --disable-static \
+ --disable-services --disable-schemas-compile
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
diff --git a/community/gnome-system-tools/po.patch b/community/gnome-system-tools/po.patch
new file mode 100644
index 000000000..0f89f2605
--- /dev/null
+++ b/community/gnome-system-tools/po.patch
@@ -0,0 +1,14 @@
+diff -Nur gnome-system-tools-3.0.0.orig//configure.in gnome-system-tools-3.0.0/configure.in
+--- gnome-system-tools-3.0.0.orig//configure.in 2011-08-08 09:49:33.514034262 +0000
++++ gnome-system-tools-3.0.0/configure.in 2011-08-08 09:50:06.967688099 +0000
+@@ -161,8 +161,8 @@
+ AM_GNU_GETTEXT([external])
+ AM_GNU_GETTEXT_VERSION([0.17])
+ GETTEXT_PACKAGE=gnome-system-tools
+-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package name])
+-AC_SUBST([GETTEXT_PACKAGE], GETTEXT_PACKAGE)
++AC_SUBST(GETTEXT_PACKAGE) # needed by gettext in po directory
++AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[fix])
+
+ dnl ========================================================
+ dnl END : Translations