diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/regexxer | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/regexxer')
-rw-r--r-- | community/regexxer/PKGBUILD | 33 | ||||
-rw-r--r-- | community/regexxer/regexxer-glib2.32.patch | 35 | ||||
-rw-r--r-- | community/regexxer/regexxer.install | 12 |
3 files changed, 80 insertions, 0 deletions
diff --git a/community/regexxer/PKGBUILD b/community/regexxer/PKGBUILD new file mode 100644 index 000000000..c570f654d --- /dev/null +++ b/community/regexxer/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 68556 2012-03-28 05:13:10Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=regexxer +pkgver=0.10 +pkgrel=3 +pkgdesc="Interactive search and replace tool for GNOME" +arch=('i686' 'x86_64') +url="http://regexxer.sourceforge.net/" +license=('GPL') +depends=('gtksourceviewmm' 'dconf' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('intltool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz + regexxer-glib2.32.patch) +sha256sums=('2a7832541a0306b3d4eb63a1cf8978d7bbfc7927e9304473fe801d71fd99736c' + '1addebc552e4374f3f9ee778fb734c08c1ed3a4b2b5e70905f7c9287c9b34882') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir/regexxer-glib2.32.patch" + sed -i '/GLIB_COMPILE_SCHEMAS/ d' Makefile.in + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/regexxer/regexxer-glib2.32.patch b/community/regexxer/regexxer-glib2.32.patch new file mode 100644 index 000000000..7d732b8bb --- /dev/null +++ b/community/regexxer/regexxer-glib2.32.patch @@ -0,0 +1,35 @@ +diff -Naur regexxer-0.10.orig/src/fileshared.h regexxer-0.10/src/fileshared.h +--- regexxer-0.10.orig/src/fileshared.h 2012-03-27 03:59:38.209864722 +0000 ++++ regexxer-0.10/src/fileshared.h 2012-03-27 04:17:47.161371044 +0000 +@@ -23,6 +23,7 @@ + + #include "sharedptr.h" + ++#include <glibmm/regex.h> + #include <gtkmm/textbuffer.h> + #include <functional> + #include <utility> +diff -Naur regexxer-0.10.orig/src/globalstrings.h regexxer-0.10/src/globalstrings.h +--- regexxer-0.10.orig/src/globalstrings.h 2012-03-27 03:59:38.209864722 +0000 ++++ regexxer-0.10/src/globalstrings.h 2012-03-27 04:21:44.906198757 +0000 +@@ -21,7 +21,7 @@ + #ifndef REGEXXER_GLOBALSTRINGS_H_INCLUDED + #define REGEXXER_GLOBALSTRINGS_H_INCLUDED + +-#include <glib/gutils.h> /* for G_DIR_SEPARATOR_S */ ++#include <glib.h> /* for G_DIR_SEPARATOR_S */ + + namespace Regexxer + { +diff -Naur regexxer-0.10.orig/src/translation.h regexxer-0.10/src/translation.h +--- regexxer-0.10.orig/src/translation.h 2012-03-27 03:59:38.206531386 +0000 ++++ regexxer-0.10/src/translation.h 2012-03-27 04:21:39.209576021 +0000 +@@ -21,7 +21,7 @@ + #ifndef REGEXXER_TRANSLATION_H_INCLUDED + #define REGEXXER_TRANSLATION_H_INCLUDED + +-#include <glib/gmacros.h> ++#include <glib.h> + #include <glibmm/ustring.h> + + #ifndef gettext_noop diff --git a/community/regexxer/regexxer.install b/community/regexxer/regexxer.install new file mode 100644 index 000000000..6ce7836d2 --- /dev/null +++ b/community/regexxer/regexxer.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |