diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/gedit-plugins | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/gedit-plugins')
-rw-r--r-- | community/gedit-plugins/PKGBUILD | 37 | ||||
-rw-r--r-- | community/gedit-plugins/gedit-plugins.install | 23 |
2 files changed, 60 insertions, 0 deletions
diff --git a/community/gedit-plugins/PKGBUILD b/community/gedit-plugins/PKGBUILD new file mode 100644 index 000000000..f35596fea --- /dev/null +++ b/community/gedit-plugins/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 92909 2013-06-18 13:47:52Z heftig $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Contributor: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Hugo Doria <hugo@archlinux.org> +# Contributor: Sergej Chodarev <sergejx@centrum.sk> +# Contributor: zhuqin <zhuqin83@gmail.com> + +pkgname=gedit-plugins +pkgver=3.8.3 +pkgrel=1 +pkgdesc="Plugins for gedit" +arch=(x86_64 i686) +license=(GPL) +url="http://live.gnome.org/GeditPlugins" +depends=(gedit python-dbus) +makedepends=(intltool gnome-doc-utils vte3 libgit2-glib) +optdepends=('gucharmap: for charmap plugin' + 'vte3: for embedded terminal' + 'libgit2-glib: for git plugin') +options=('!libtool' '!emptydirs') +install=gedit-plugins.install +source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz") +sha256sums=('2340910ed49acfaab7e8d30142e087f70e55c1a55f8b755d4f9014bce3923c80') + +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/gedit-plugins/gedit-plugins.install b/community/gedit-plugins/gedit-plugins.install new file mode 100644 index 000000000..d5bcc00ae --- /dev/null +++ b/community/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: |