[arch-commits] Commit in gedit/repos (8 files)
Jan de Groot
jgc at archlinux.org
Thu Oct 18 19:28:04 UTC 2012
Date: Thursday, October 18, 2012 @ 15:28:03
Author: jgc
Revision: 169246
db-move: moved gedit from [gnome-unstable] to [testing] (i686, x86_64)
Added:
gedit/repos/testing-i686/
gedit/repos/testing-i686/PKGBUILD
(from rev 169138, gedit/repos/gnome-unstable-i686/PKGBUILD)
gedit/repos/testing-i686/gedit.install
(from rev 169138, gedit/repos/gnome-unstable-i686/gedit.install)
gedit/repos/testing-x86_64/
gedit/repos/testing-x86_64/PKGBUILD
(from rev 169138, gedit/repos/gnome-unstable-x86_64/PKGBUILD)
gedit/repos/testing-x86_64/gedit.install
(from rev 169138, gedit/repos/gnome-unstable-x86_64/gedit.install)
Deleted:
gedit/repos/gnome-unstable-i686/
gedit/repos/gnome-unstable-x86_64/
------------------------------+
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 169138, gedit/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-10-18 19:28:03 UTC (rev 169246)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gedit
+pkgver=3.6.1
+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=('yelp-tools' '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=('75fb18e32a7571900dda8cbd3a71212bded1ef714d3aa9f9513296eea02779a4')
+
+build() {
+ cd $pkgname-$pkgver
+ PYTHON=/usr/bin/python2 ./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/testing-i686/gedit.install (from rev 169138, gedit/repos/gnome-unstable-i686/gedit.install)
===================================================================
--- testing-i686/gedit.install (rev 0)
+++ testing-i686/gedit.install 2012-10-18 19:28:03 UTC (rev 169246)
@@ -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/testing-x86_64/PKGBUILD (from rev 169138, gedit/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-10-18 19:28:03 UTC (rev 169246)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gedit
+pkgver=3.6.1
+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=('yelp-tools' '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=('75fb18e32a7571900dda8cbd3a71212bded1ef714d3aa9f9513296eea02779a4')
+
+build() {
+ cd $pkgname-$pkgver
+ PYTHON=/usr/bin/python2 ./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/testing-x86_64/gedit.install (from rev 169138, gedit/repos/gnome-unstable-x86_64/gedit.install)
===================================================================
--- testing-x86_64/gedit.install (rev 0)
+++ testing-x86_64/gedit.install 2012-10-18 19:28:03 UTC (rev 169246)
@@ -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