diff options
Diffstat (limited to 'community-testing/gedit-plugins')
-rw-r--r-- | community-testing/gedit-plugins/PKGBUILD | 33 | ||||
-rw-r--r-- | community-testing/gedit-plugins/gedit-plugins.install | 23 |
2 files changed, 56 insertions, 0 deletions
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 <ibiru@archlinux.org> +#Contributor: Hugo Doria <hugo@archlinux.org> +#Contributor: Sergej Chodarev <sergejx@centrum.sk> +#Contributor: zhuqin <zhuqin83@gmail.com> + +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: |