diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gedit-plugins |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gedit-plugins')
-rw-r--r-- | community/gedit-plugins/PKGBUILD | 31 | ||||
-rw-r--r-- | community/gedit-plugins/gedit-plugins.install | 24 | ||||
-rw-r--r-- | community/gedit-plugins/libtool.patch | 10 |
3 files changed, 65 insertions, 0 deletions
diff --git a/community/gedit-plugins/PKGBUILD b/community/gedit-plugins/PKGBUILD new file mode 100644 index 000000000..ac1c9bcbe --- /dev/null +++ b/community/gedit-plugins/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 37852 2011-01-18 18:27:55Z 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 +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') +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') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --with-plugins=all + + 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 +} diff --git a/community/gedit-plugins/gedit-plugins.install b/community/gedit-plugins/gedit-plugins.install new file mode 100644 index 000000000..5a2fca03e --- /dev/null +++ b/community/gedit-plugins/gedit-plugins.install @@ -0,0 +1,24 @@ +pkgname=gedit-plugins + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + /bin/true +} + + +# vim:set ts=2 sw=2 et: diff --git a/community/gedit-plugins/libtool.patch b/community/gedit-plugins/libtool.patch new file mode 100644 index 000000000..d00b97b36 --- /dev/null +++ b/community/gedit-plugins/libtool.patch @@ -0,0 +1,10 @@ +--- configure.ac 2008-10-25 11:13:17.000000000 +0200 ++++ configure.ac.new 2008-11-13 20:45:39.000000000 +0100 +@@ -20,6 +20,7 @@ + IT_PROG_INTLTOOL([0.35.0]) + + AC_PROG_LIBTOOL ++m4_ifdef([LT_OUTPUT],[LT_OUTPUT]) + + AC_ISC_POSIX + AC_PROG_CC |