diff options
author | root <root@rshg054.dnsready.net> | 2011-09-07 15:14:25 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-07 15:14:25 +0000 |
commit | 52442b30a60f3a0dc7bc0eb214d123d001987c83 (patch) | |
tree | b4ba9af92ba3a77331f71b19dd46fb3964e79c19 /gnome-unstable/gedit | |
parent | 17f3e93f2d2e9d6b429c34a2c107ee4d0b7b3973 (diff) |
Wed Sep 7 15:14:25 UTC 2011
Diffstat (limited to 'gnome-unstable/gedit')
-rw-r--r-- | gnome-unstable/gedit/PKGBUILD | 32 | ||||
-rw-r--r-- | gnome-unstable/gedit/gedit.install | 18 |
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..9b0b71e2b --- /dev/null +++ b/gnome-unstable/gedit/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 137207 2011-09-06 17:34:40Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gedit +pkgver=3.1.5 +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=('d781fd78002e39ef84cca45f390de8a354fd7acd92bb241f5ccf5263dd56856b') + +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 +} 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 +} |