[arch-commits] Commit in gedit/repos (6 files)

Ionut Biru ibiru at archlinux.org
Tue Nov 15 12:49:58 EST 2011


    Date: Tuesday, November 15, 2011 @ 12:49:57
  Author: ibiru
Revision: 142821

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gedit/repos/testing-i686/
  gedit/repos/testing-i686/PKGBUILD
    (from rev 142820, gedit/trunk/PKGBUILD)
  gedit/repos/testing-i686/gedit.install
    (from rev 142820, gedit/trunk/gedit.install)
  gedit/repos/testing-x86_64/
  gedit/repos/testing-x86_64/PKGBUILD
    (from rev 142820, gedit/trunk/PKGBUILD)
  gedit/repos/testing-x86_64/gedit.install
    (from rev 142820, gedit/trunk/gedit.install)

------------------------------+
 testing-i686/PKGBUILD        |   32 ++++++++++++++++++++++++++++++++
 testing-i686/gedit.install   |   18 ++++++++++++++++++
 testing-x86_64/PKGBUILD      |   32 ++++++++++++++++++++++++++++++++
 testing-x86_64/gedit.install |   18 ++++++++++++++++++
 4 files changed, 100 insertions(+)

Copied: gedit/repos/testing-i686/PKGBUILD (from rev 142820, gedit/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-15 17:49:57 UTC (rev 142821)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gedit
+pkgver=3.2.3
+pkgrel=1
+pkgdesc="A text editor for GNOME"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gtksourceview3' 'gsettings-desktop-schemas' 'libpeas' 'enchant' 'iso-codes' 'libsm' 'desktop-file-utils' 'python2-gobject' 'dconf')
+makedepends=('gnome-doc-utils' 'intltool')
+groups=('gnome-extra')
+options=('!libtool' '!emptydirs')
+url="http://www.gnome.org"
+install=gedit.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('9db009de74874846edadc0f4a7dc0127a4272cff4348a13544c611cc3696b751')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+      --sysconfdir=/etc --localstatedir=/var \
+      --libexecdir=/usr/lib --disable-scrollkeeper \
+      --disable-updater --disable-schemas-compile \
+      --enable-python
+  make
+}
+
+package(){
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: gedit/repos/testing-i686/gedit.install (from rev 142820, gedit/trunk/gedit.install)
===================================================================
--- testing-i686/gedit.install	                        (rev 0)
+++ testing-i686/gedit.install	2011-11-15 17:49:57 UTC (rev 142821)
@@ -0,0 +1,18 @@
+post_install() {
+    glib-compile-schemas usr/share/glib-2.0/schemas
+    update-desktop-database -q
+}
+
+pre_upgrade() {
+    if [ -f usr/share/gconf/schemas/gedit.schemas ]; then
+        usr/sbin/gconfpkg --uninstall gedit
+    fi
+}
+
+post_upgrade() {
+    post_install $1
+}
+
+post_remove() {
+    post_install $1
+}

Copied: gedit/repos/testing-x86_64/PKGBUILD (from rev 142820, gedit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-15 17:49:57 UTC (rev 142821)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gedit
+pkgver=3.2.3
+pkgrel=1
+pkgdesc="A text editor for GNOME"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gtksourceview3' 'gsettings-desktop-schemas' 'libpeas' 'enchant' 'iso-codes' 'libsm' 'desktop-file-utils' 'python2-gobject' 'dconf')
+makedepends=('gnome-doc-utils' 'intltool')
+groups=('gnome-extra')
+options=('!libtool' '!emptydirs')
+url="http://www.gnome.org"
+install=gedit.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('9db009de74874846edadc0f4a7dc0127a4272cff4348a13544c611cc3696b751')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+      --sysconfdir=/etc --localstatedir=/var \
+      --libexecdir=/usr/lib --disable-scrollkeeper \
+      --disable-updater --disable-schemas-compile \
+      --enable-python
+  make
+}
+
+package(){
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: gedit/repos/testing-x86_64/gedit.install (from rev 142820, gedit/trunk/gedit.install)
===================================================================
--- testing-x86_64/gedit.install	                        (rev 0)
+++ testing-x86_64/gedit.install	2011-11-15 17:49:57 UTC (rev 142821)
@@ -0,0 +1,18 @@
+post_install() {
+    glib-compile-schemas usr/share/glib-2.0/schemas
+    update-desktop-database -q
+}
+
+pre_upgrade() {
+    if [ -f usr/share/gconf/schemas/gedit.schemas ]; then
+        usr/sbin/gconfpkg --uninstall gedit
+    fi
+}
+
+post_upgrade() {
+    post_install $1
+}
+
+post_remove() {
+    post_install $1
+}



More information about the arch-commits mailing list