[arch-commits] Commit in gedit/repos (6 files)
Jan de Groot
jgc at archlinux.org
Fri Sep 25 13:13:26 UTC 2015
Date: Friday, September 25, 2015 @ 15:13:25
Author: jgc
Revision: 247401
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
gedit/repos/gnome-unstable-i686/
gedit/repos/gnome-unstable-i686/PKGBUILD
(from rev 247400, gedit/trunk/PKGBUILD)
gedit/repos/gnome-unstable-i686/gedit.install
(from rev 247400, gedit/trunk/gedit.install)
gedit/repos/gnome-unstable-x86_64/
gedit/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 247400, gedit/trunk/PKGBUILD)
gedit/repos/gnome-unstable-x86_64/gedit.install
(from rev 247400, gedit/trunk/gedit.install)
-------------------------------------+
gnome-unstable-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
gnome-unstable-i686/gedit.install | 18 ++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/gedit.install | 18 ++++++++++++++++++
4 files changed, 100 insertions(+)
Copied: gedit/repos/gnome-unstable-i686/PKGBUILD (from rev 247400, gedit/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2015-09-25 13:13:25 UTC (rev 247401)
@@ -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.18.0
+pkgrel=1
+pkgdesc="A text editor for GNOME"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gtksourceview3 gsettings-desktop-schemas libpeas enchant iso-codes desktop-file-utils python-gobject dconf)
+makedepends=(yelp-tools intltool vala gobject-introspection)
+groups=(gnome-extra)
+options=('!emptydirs')
+url="http://www.gnome.org"
+install=gedit.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('9abd4f1478385f8b6c983298206f4ab1a25c682b9c87fb00d759b7db5b949533')
+
+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/gnome-unstable-i686/gedit.install (from rev 247400, gedit/trunk/gedit.install)
===================================================================
--- gnome-unstable-i686/gedit.install (rev 0)
+++ gnome-unstable-i686/gedit.install 2015-09-25 13:13:25 UTC (rev 247401)
@@ -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/gnome-unstable-x86_64/PKGBUILD (from rev 247400, gedit/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2015-09-25 13:13:25 UTC (rev 247401)
@@ -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.18.0
+pkgrel=1
+pkgdesc="A text editor for GNOME"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gtksourceview3 gsettings-desktop-schemas libpeas enchant iso-codes desktop-file-utils python-gobject dconf)
+makedepends=(yelp-tools intltool vala gobject-introspection)
+groups=(gnome-extra)
+options=('!emptydirs')
+url="http://www.gnome.org"
+install=gedit.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('9abd4f1478385f8b6c983298206f4ab1a25c682b9c87fb00d759b7db5b949533')
+
+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/gnome-unstable-x86_64/gedit.install (from rev 247400, gedit/trunk/gedit.install)
===================================================================
--- gnome-unstable-x86_64/gedit.install (rev 0)
+++ gnome-unstable-x86_64/gedit.install 2015-09-25 13:13:25 UTC (rev 247401)
@@ -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