summaryrefslogtreecommitdiff
path: root/gnome-unstable/gedit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-13 00:01:30 +0000
committerroot <root@rshg054.dnsready.net>2012-03-13 00:01:30 +0000
commit217a7715291ceb935900b71bde082023bc441290 (patch)
tree6cbfcf7d11f0bd1e412f542080ec995fc26daffd /gnome-unstable/gedit
parent7e61bbcf6b3c8ffe6c076268044d83b446fceeab (diff)
Tue Mar 13 00:01:30 UTC 2012
Diffstat (limited to 'gnome-unstable/gedit')
-rw-r--r--gnome-unstable/gedit/PKGBUILD32
-rw-r--r--gnome-unstable/gedit/gedit.install18
2 files changed, 50 insertions, 0 deletions
diff --git a/gnome-unstable/gedit/PKGBUILD b/gnome-unstable/gedit/PKGBUILD
new file mode 100644
index 000000000..3b9f30d3d
--- /dev/null
+++ b/gnome-unstable/gedit/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 153014 2012-03-11 07:54:23Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gedit
+pkgver=3.3.4
+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=('dddd7f2028fa1241ea5d842653fbad299ac9bb31de1ffcf5a1b8912f4e315149')
+
+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
+}
diff --git a/gnome-unstable/gedit/gedit.install b/gnome-unstable/gedit/gedit.install
new file mode 100644
index 000000000..9d88a1341
--- /dev/null
+++ b/gnome-unstable/gedit/gedit.install
@@ -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
+}