From 99746708edfd2c56f2ba654a14f27e98b1601a43 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 22 Oct 2012 01:08:23 -0700 Subject: Mon Oct 22 01:08:14 PDT 2012 --- community-testing/gedit-plugins/PKGBUILD | 36 ++++++++++++++++++++++ .../gedit-plugins/gedit-plugins.install | 23 ++++++++++++++ 2 files changed, 59 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..44dc262a0 --- /dev/null +++ b/community-testing/gedit-plugins/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 78582 2012-10-21 11:43:49Z ibiru $ +# Maintainer: Ionut Biru +# Contributor: Alexander Rødseth +# Contributor: Hugo Doria +# Contributor: Sergej Chodarev +# Contributor: zhuqin + +pkgname=gedit-plugins +pkgver=3.6.1 +pkgrel=1 +pkgdesc="Plugins for gedit" +arch=('x86_64' 'i686') +license=('GPL') +url="http://live.gnome.org/GeditPlugins" +depends=('gedit' 'dbus-python') +optdepends=('gucharmap: for charmap plugin' + 'vte3: for embedded terminal') +makedepends=('intltool' 'gnome-doc-utils' 'vte3') +options=('!libtool' '!emptydirs') +install=gedit-plugins.install +source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz") +sha256sums=('c5e92830e6029110bf1117bd9f31b23a9ad907210b8cb37039772f5bfcf6d174') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --with-plugins=all \ + --disable-schemas-compile + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} + +# vim:set ts=2 sw=2 et: 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