From 0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Sep 2011 23:14:32 +0000 Subject: Thu Sep 29 23:14:32 UTC 2011 --- community-testing/gedit-plugins/PKGBUILD | 33 ++++++++++++++++++++++ .../gedit-plugins/gedit-plugins.install | 23 +++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 community-testing/gedit-plugins/PKGBUILD create mode 100644 community-testing/gedit-plugins/gedit-plugins.install (limited to 'community-testing/gedit-plugins') diff --git a/community-testing/gedit-plugins/PKGBUILD b/community-testing/gedit-plugins/PKGBUILD new file mode 100644 index 000000000..990935604 --- /dev/null +++ b/community-testing/gedit-plugins/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 56011 2011-09-28 20:24:07Z ibiru $ +#Maintainer: Ionut Biru +#Contributor: Hugo Doria +#Contributor: Sergej Chodarev +#Contributor: zhuqin + +pkgname=gedit-plugins +pkgver=3.2.0 +pkgrel=1 +pkgdesc="Set of plugins for gedit" +arch=('i686' 'x86_64') +license=('GPL') +url="http://live.gnome.org/GeditPlugins" +depends=('gedit' 'dbus-python') +optdepends=('gucharmap: for charmap plugin') +makedepends=('intltool' 'gnome-doc-utils') +options=('!libtool' '!emptydirs') +install=gedit-plugins.install +source=(ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/3.2/$pkgname-$pkgver.tar.xz) +sha256sums=('c8d617a107478dba6ef0ab16e87707c5526e97eefab24a65891dbf9aa32e7839') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --with-plugins=all \ + --disable-schemas-compile + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} diff --git a/community-testing/gedit-plugins/gedit-plugins.install b/community-testing/gedit-plugins/gedit-plugins.install new file mode 100644 index 000000000..d5bcc00ae --- /dev/null +++ b/community-testing/gedit-plugins/gedit-plugins.install @@ -0,0 +1,23 @@ +pkgname=gedit-plugins + +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi +} + +post_upgrade() { + post_install $1 +} + + +post_remove() { + post_install $1 +} + + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf