summaryrefslogtreecommitdiff
path: root/community/gedit-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'community/gedit-plugins')
-rw-r--r--community/gedit-plugins/PKGBUILD25
-rw-r--r--community/gedit-plugins/gedit-plugins.install11
2 files changed, 18 insertions, 18 deletions
diff --git a/community/gedit-plugins/PKGBUILD b/community/gedit-plugins/PKGBUILD
index ac1c9bcbe..d8ac7955a 100644
--- a/community/gedit-plugins/PKGBUILD
+++ b/community/gedit-plugins/PKGBUILD
@@ -1,31 +1,32 @@
-# $Id: PKGBUILD 37852 2011-01-18 18:27:55Z ibiru $
+# $Id: PKGBUILD 45665 2011-04-26 21:32:06Z ibiru $
#Maintainer: Ionut Biru <ibiru@archlinux.org>
#Contributor: Hugo Doria <hugo@archlinux.org>
#Contributor: Sergej Chodarev <sergejx@centrum.sk>
#Contributor: zhuqin <zhuqin83@gmail.com>
pkgname=gedit-plugins
-pkgver=2.32.0
-pkgrel=2
+pkgver=3.0.2
+pkgrel=1
pkgdesc="Set of plugins for gedit"
arch=('i686' 'x86_64')
license=('GPL')
url="http://live.gnome.org/GeditPlugins"
-depends=('gedit' 'vte' 'gucharmap' 'python2-gconf' 'dbus-python')
-makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.20.0')
+depends=('gedit' 'dbus-python')
+makedepends=('intltool' 'gnome-doc-utils')
options=('!libtool' '!emptydirs')
install=gedit-plugins.install
-source=(ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/2.32/$pkgname-$pkgver.tar.bz2)
-sha256sums=('2ef7bf48e9500556d84ae4c2950f4eadcc3f9cb9c58c90f2c83956b0ddad1107')
+source=(ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/3.0/$pkgname-$pkgver.tar.bz2)
+sha256sums=('7152d3f5639258a0b5fb873521d36fc9919dee4c00ce9fb414045a2d8b0c06f6')
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --with-plugins=all
+ ./configure --prefix=/usr --sysconfdir=/etc --with-plugins=all \
+ --disable-schemas-compile
make
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$pkgdir install
+}
- install -m755 -d $pkgdir/usr/share/gconf/schemas
- gconf-merge-schema $pkgdir/usr/share/gconf/schemas/${pkgname}.schemas $pkgdir/etc/gconf/schemas/*.schemas
- rm -f $pkgdir/etc/gconf/schemas/*.schemas
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
}
diff --git a/community/gedit-plugins/gedit-plugins.install b/community/gedit-plugins/gedit-plugins.install
index 5a2fca03e..d5bcc00ae 100644
--- a/community/gedit-plugins/gedit-plugins.install
+++ b/community/gedit-plugins/gedit-plugins.install
@@ -1,23 +1,22 @@
pkgname=gedit-plugins
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
}
pre_upgrade() {
- pre_remove $1
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
}
post_upgrade() {
post_install $1
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
post_remove() {
- /bin/true
+ post_install $1
}