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

Felix Yan fyan at nymeria.archlinux.org
Tue Mar 18 11:32:00 UTC 2014


    Date: Tuesday, March 18, 2014 @ 12:32:00
  Author: fyan
Revision: 208164

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

Added:
  gedit/repos/staging-i686/
  gedit/repos/staging-i686/PKGBUILD
    (from rev 208159, gedit/trunk/PKGBUILD)
  gedit/repos/staging-i686/gedit.install
    (from rev 208159, gedit/trunk/gedit.install)
  gedit/repos/staging-x86_64/
  gedit/repos/staging-x86_64/PKGBUILD
    (from rev 208163, gedit/trunk/PKGBUILD)
  gedit/repos/staging-x86_64/gedit.install
    (from rev 208163, gedit/trunk/gedit.install)

------------------------------+
 staging-i686/PKGBUILD        |   33 +++++++++++++++++++++++++++++++++
 staging-i686/gedit.install   |   18 ++++++++++++++++++
 staging-x86_64/PKGBUILD      |   33 +++++++++++++++++++++++++++++++++
 staging-x86_64/gedit.install |   18 ++++++++++++++++++
 4 files changed, 102 insertions(+)

Copied: gedit/repos/staging-i686/PKGBUILD (from rev 208159, gedit/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2014-03-18 11:32:00 UTC (rev 208164)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gedit
+pkgver=3.10.4
+pkgrel=2
+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 python-gobject dconf)
+makedepends=(yelp-tools intltool zeitgeist)
+optdepends=('zeitgeist: Zeitgeist plugin')
+groups=(gnome-extra)
+options=('!emptydirs')
+url="http://www.gnome.org"
+install=gedit.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('40dc10b6e26fd8523087e7321a20a063f4c1e586dffd7ce8ee78eead11359f9e')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+      --sysconfdir=/etc --localstatedir=/var \
+      --libexecdir=/usr/lib --disable-updater --disable-schemas-compile \
+      --enable-python
+  make
+}
+
+package(){
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: gedit/repos/staging-i686/gedit.install (from rev 208159, gedit/trunk/gedit.install)
===================================================================
--- staging-i686/gedit.install	                        (rev 0)
+++ staging-i686/gedit.install	2014-03-18 11:32:00 UTC (rev 208164)
@@ -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
+        gconfpkg --uninstall gedit
+    fi
+}
+
+post_upgrade() {
+    post_install $1
+}
+
+post_remove() {
+    post_install $1
+}

Copied: gedit/repos/staging-x86_64/PKGBUILD (from rev 208163, gedit/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2014-03-18 11:32:00 UTC (rev 208164)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gedit
+pkgver=3.10.4
+pkgrel=2
+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 python-gobject dconf)
+makedepends=(yelp-tools intltool zeitgeist)
+optdepends=('zeitgeist: Zeitgeist plugin')
+groups=(gnome-extra)
+options=('!emptydirs')
+url="http://www.gnome.org"
+install=gedit.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('40dc10b6e26fd8523087e7321a20a063f4c1e586dffd7ce8ee78eead11359f9e')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+      --sysconfdir=/etc --localstatedir=/var \
+      --libexecdir=/usr/lib --disable-updater --disable-schemas-compile \
+      --enable-python
+  make
+}
+
+package(){
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: gedit/repos/staging-x86_64/gedit.install (from rev 208163, gedit/trunk/gedit.install)
===================================================================
--- staging-x86_64/gedit.install	                        (rev 0)
+++ staging-x86_64/gedit.install	2014-03-18 11:32:00 UTC (rev 208164)
@@ -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
+        gconfpkg --uninstall gedit
+    fi
+}
+
+post_upgrade() {
+    post_install $1
+}
+
+post_remove() {
+    post_install $1
+}




More information about the arch-commits mailing list