diff options
author | root <root@rshg054.dnsready.net> | 2012-03-27 00:01:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-27 00:01:20 +0000 |
commit | c8729cab8302ab82e01135a22fb9fa9704f1559b (patch) | |
tree | f272d52815dcaf543aaf60177bdfc7d28e22e201 /community | |
parent | cf507a0dbf5ee8258e49256049b420ac8e191387 (diff) |
Tue Mar 27 00:01:20 UTC 2012
Diffstat (limited to 'community')
-rw-r--r-- | community/c++-gtk-utils/PKGBUILD | 12 | ||||
-rw-r--r-- | community/contacts/0001-Fix-Makefile-whitespace.patch | 19 | ||||
-rw-r--r-- | community/contacts/PKGBUILD | 34 | ||||
-rw-r--r-- | community/contacts/contacts.install | 24 | ||||
-rw-r--r-- | community/dates/0001-Fix-FTBFS-with-newer-GCC.patch | 39 | ||||
-rw-r--r-- | community/dates/0001-Fix-Makefile-whitespace.patch | 20 | ||||
-rw-r--r-- | community/dates/0001-Replaced-the-calls-to-the-deprecated-functions-e_sou.patch | 155 | ||||
-rw-r--r-- | community/dates/PKGBUILD | 40 | ||||
-rw-r--r-- | community/dates/dates.install | 11 | ||||
-rw-r--r-- | community/exfat-utils/PKGBUILD | 11 | ||||
-rw-r--r-- | community/flashrom/PKGBUILD | 6 | ||||
-rw-r--r-- | community/fuse-exfat/PKGBUILD | 13 | ||||
-rw-r--r-- | community/regexxer/PKGBUILD | 30 | ||||
-rw-r--r-- | community/regexxer/regexxer.install | 12 |
14 files changed, 406 insertions, 20 deletions
diff --git a/community/c++-gtk-utils/PKGBUILD b/community/c++-gtk-utils/PKGBUILD index ce57480cc..58d29b681 100644 --- a/community/c++-gtk-utils/PKGBUILD +++ b/community/c++-gtk-utils/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 61994 2012-01-13 20:36:39Z giovanni $ +# $Id: PKGBUILD 68461 2012-03-25 08:30:58Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> pkgname=c++-gtk-utils -pkgver=2.0.4 +pkgver=2.0.6 pkgrel=1 pkgdesc="Classes and functions for programming in GTK+" arch=('i686' 'x86_64') @@ -11,10 +11,10 @@ license=('LGPL2.1') depends=('gtk3') options=('!libtool') source=("http://downloads.sourceforge.net/project/cxx-gtk-utils/cxx-gtk-utils/${pkgver}/${pkgname}-${pkgver}.tar.gz") -md5sums=('349b14a45befcaad629820c3313c9e1d') +md5sums=('06a16582721120ae13fa04c65e3617c0') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --disable-rpath \ @@ -23,7 +23,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="$pkgdir/" install + make DESTDIR="${pkgdir}" install } diff --git a/community/contacts/0001-Fix-Makefile-whitespace.patch b/community/contacts/0001-Fix-Makefile-whitespace.patch new file mode 100644 index 000000000..3c6e3b5f9 --- /dev/null +++ b/community/contacts/0001-Fix-Makefile-whitespace.patch @@ -0,0 +1,19 @@ +From d69e65a87e58059fb7876987b4369d932ac35e17 Mon Sep 17 00:00:00 2001 +From: Joshua Lock <josh@linux.intel.com> +Date: Wed, 15 Dec 2010 14:06:44 +0000 +Subject: Fix Makefile whitespace for the new improved strict make 3.82 + +Signed-off-by: Joshua Lock <josh@linux.intel.com> +--- +diff --git a/Makefile.am b/Makefile.am +index 7c36d37..0a24f3d 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -11,4 +11,4 @@ DISTCLEANFILES = $(INTLTOOL_BUILT) + MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp $(INTLTOOL_BUILT:=.in) install-sh ltmain.sh mkinstalldirs Makefile.in missing + + snapshot: +- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` ++ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` +-- +cgit v0.9.0.2 diff --git a/community/contacts/PKGBUILD b/community/contacts/PKGBUILD new file mode 100644 index 000000000..901bdae52 --- /dev/null +++ b/community/contacts/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 68465 2012-03-25 08:49:14Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=contacts +pkgver=0.12 +pkgrel=5 +pkgdesc="Small, lightweight GTK+ address book app" +arch=('i686' 'x86_64') +url="http://pimlico-project.org/contacts.html" +license=('GPL') +depends=('gtk2' 'evolution-data-server' 'desktop-file-utils' 'xdg-utils') +makedepends=('intltool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 + 0001-Fix-Makefile-whitespace.patch) +sha256sums=('0993f34819b92e09ab64e8a90231afc3178a19a4a99cf02c3050f51a44850782' + 'f6e3879c1aacbb62e481d9c1c33679ae12f986a26a96b112ec4d7f5f3358efbf') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir/0001-Fix-Makefile-whitespace.patch" + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-install --disable-gnome-vfs \ + --with-gconf-schema-file-dir=/usr/share/gconf/schemas + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/contacts/contacts.install b/community/contacts/contacts.install new file mode 100644 index 000000000..f52f6a097 --- /dev/null +++ b/community/contacts/contacts.install @@ -0,0 +1,24 @@ +pkgname=contacts + +post_install() { + gconfpkg --install $pkgname + update-desktop-database -q + xdg-icon-resource forceupdate +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + gconfpkg --uninstall $pkgname +} + +post_remove() { + update-desktop-database -q + xdg-icon-resource forceupdate +} diff --git a/community/dates/0001-Fix-FTBFS-with-newer-GCC.patch b/community/dates/0001-Fix-FTBFS-with-newer-GCC.patch new file mode 100644 index 000000000..674ec2395 --- /dev/null +++ b/community/dates/0001-Fix-FTBFS-with-newer-GCC.patch @@ -0,0 +1,39 @@ +From f3e8719489fc5db5ae87dd03d39aad176d65762f Mon Sep 17 00:00:00 2001 +From: Paul Wise <pabs3@bonedaddy.net> +Date: Fri, 29 Apr 2011 13:10:15 +0800 +Subject: [PATCH] Fix FTBFS with newer GCC + +--- + configure.ac | 2 +- + src/Makefile.am | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7f009d9..0181292 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -17,7 +17,7 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) + AC_SUBST(GETTEXT_PACKAGE) + AM_GLIB_GNU_GETTEXT + +-PKG_CHECK_MODULES(DATES, glib-2.0 gtk+-2.0 libecal-1.2 gconf-2.0) ++PKG_CHECK_MODULES(DATES, glib-2.0 gtk+-2.0 libecal-1.2 gconf-2.0 pango) + + PKG_CHECK_MODULES(GTK, gtk+-2.0) + AC_SUBST(GTK_CFLAGS) +diff --git a/src/Makefile.am b/src/Makefile.am +index 90c7049..3bb4f32 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -35,7 +35,7 @@ dates_SOURCES = $(platform) \ + gconf-bridge.h \ + gconf-bridge.c + +-dates_LDADD = $(DATES_LIBS) libgtkdatesview.la ++dates_LDADD = libgtkdatesview.la -lm $(DATES_LIBS) + + if USE_OWL + dates_LDADD += $(top_builddir)/libowl/libowl.la +-- +1.7.4.4 + diff --git a/community/dates/0001-Fix-Makefile-whitespace.patch b/community/dates/0001-Fix-Makefile-whitespace.patch new file mode 100644 index 000000000..9feda3915 --- /dev/null +++ b/community/dates/0001-Fix-Makefile-whitespace.patch @@ -0,0 +1,20 @@ +From bc98e2896682ac831cd27142c7e76fe0f8280bee Mon Sep 17 00:00:00 2001 +From: Joshua Lock <josh@linux.intel.com> +Date: Wed, 15 Dec 2010 14:07:50 +0000 +Subject: Fix Makefile whitespace for the new improved strict make 3.82 + +Signed-off-by: Joshua Lock <josh@linux.intel.com> +--- +diff --git a/Makefile.am b/Makefile.am +index e8a3c7f..51b4f1d 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -7,5 +7,5 @@ DISTCLEANFILES = intltool-extract intltool-merge intltool-update + MAINTAINERCLEANFILES = $(DISTCLEANFILES) aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing + + snapshot: +- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` ++ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` + +-- +cgit v0.9.0.2 diff --git a/community/dates/0001-Replaced-the-calls-to-the-deprecated-functions-e_sou.patch b/community/dates/0001-Replaced-the-calls-to-the-deprecated-functions-e_sou.patch new file mode 100644 index 000000000..e7fce46f3 --- /dev/null +++ b/community/dates/0001-Replaced-the-calls-to-the-deprecated-functions-e_sou.patch @@ -0,0 +1,155 @@ +From 7771e0b3d75b4ba04756d6c6ffc03d644df2db5f Mon Sep 17 00:00:00 2001 +From: Lucas Hermann Negri <lucashnegri@gmail.com> +Date: Wed, 13 Oct 2010 18:49:20 -0300 +Subject: [PATCH] Replaced the calls to the deprecated functions e_source_{set,get}_color + with the new API (e_source_{set,peek}_color_spec). + +--- + src/dates_gtk.c | 40 ++++++++++++---------------------------- + src/dates_main.c | 2 +- + src/dates_view.c | 10 ++++------ + 3 files changed, 17 insertions(+), 35 deletions(-) + +diff --git a/src/dates_gtk.c b/src/dates_gtk.c +index 78e71bb..403bc25 100644 +--- a/src/dates_gtk.c ++++ b/src/dates_gtk.c +@@ -1016,7 +1016,6 @@ calendar_do_new_dialog (GtkWindow *parent, DatesData *d) + GtkTreeIter iter; + GError *error = NULL; + const gchar *relative_uri; +- guint32 new_colour; + + #ifdef WITH_HILDON + GdkColor *hildon_color; +@@ -1055,7 +1054,8 @@ calendar_do_new_dialog (GtkWindow *parent, DatesData *d) + source = e_source_new (name, relative_uri); + + #ifdef USE_OWL +- new_colour = owl_colour_button_get_colour (OWL_COLOUR_BUTTON (color_button)); ++ guint32 new_colour = owl_colour_button_get_colour (OWL_COLOUR_BUTTON (color_button)); ++ e_source_set_color (source, new_colour); + #else + + #ifdef WITH_HILDON +@@ -1063,17 +1063,11 @@ calendar_do_new_dialog (GtkWindow *parent, DatesData *d) + #else + gtk_color_button_get_color (GTK_COLOR_BUTTON(color_button), &colour); + #endif +- new_colour = (guint8)(colour.red >> 8); +- new_colour <<= 8; +- new_colour |= (guint8)(colour.green >> 8); +- new_colour <<= 8; +- new_colour |= (guint8)(colour.blue >> 8); +- new_colour <<= 8; ++ gchar *n_color = gdk_color_to_string (&colour); ++ e_source_set_color_spec (source, n_color); ++ g_free(n_color); + #endif + +- /* Set the colour */ +- e_source_set_color (source, new_colour); +- + /* Set the group for the source */ + e_source_set_group (source, group); + e_source_group_add_source (group, source, 0); +@@ -1169,7 +1163,6 @@ calendar_do_edit_dialog (GtkWindow *parent, ESource *source, DatesData *d) + ESourceGroup *group; + + GdkColor colour; +- guint32 raw_colour; + + const gchar *name = NULL; + const gchar *uri = NULL; +@@ -1335,12 +1328,8 @@ calendar_do_edit_dialog (GtkWindow *parent, ESource *source, DatesData *d) + gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); + + /* Get the colour from the the source */ +- e_source_get_color (source, &raw_colour); +- +- /* Munge this into something usable */ +- colour.red = (guint16)(((raw_colour & 0xff0000) >> 16) << 8); +- colour.green = (guint16)(((raw_colour & 0xff00) >> 8) << 8); +- colour.blue = (guint16)(((raw_colour & 0xff) << 8)); ++ const gchar* spec = e_source_peek_color_spec(source); ++ gdk_color_parse(spec, &colour); + + /* Now we need to allocate the colour */ + gdk_colormap_alloc_color (gdk_colormap_get_system (), &colour, TRUE, TRUE); +@@ -1440,26 +1429,21 @@ calendar_do_edit_dialog (GtkWindow *parent, ESource *source, DatesData *d) + * Next we need to pack the GDK colour into guint32 + * for eds + */ +- guint32 new_colour = 0; + + GError *error = NULL; + #ifdef USE_OWL +- new_colour = owl_colour_button_get_colour (OWL_COLOUR_BUTTON (color_button)); ++ guint32 new_colour = owl_colour_button_get_colour (OWL_COLOUR_BUTTON (color_button)); ++ e_source_set_color (source, new_colour); + #else + #ifdef WITH_HILDON + hildon_color_button_get_color (HILDON_COLOR_BUTTON(color_button), &colour); + #else + gtk_color_button_get_color (GTK_COLOR_BUTTON(color_button), &colour); + #endif +- new_colour = (guint8)(colour.red >> 8); +- new_colour <<= 8; +- new_colour |= (guint8)(colour.green >> 8); +- new_colour <<= 8; +- new_colour |= (guint8)(colour.blue >> 8); +- new_colour <<= 8; ++ gchar *n_color = gdk_color_to_string (&colour); ++ e_source_set_color_spec (source, n_color); ++ g_free(n_color); + #endif +- /* Update the colour */ +- e_source_set_color (source, new_colour); + + /* And the name */ + e_source_set_name (source, (gtk_entry_get_text (GTK_ENTRY (name_entry)))); +diff --git a/src/dates_main.c b/src/dates_main.c +index ce05fe8..1f7770d 100644 +--- a/src/dates_main.c ++++ b/src/dates_main.c +@@ -112,7 +112,7 @@ dates_load_calendars (DatesData *d) + system_source = e_source_new (_("Personal"), "system"); + + /* Default Evolution colour */ +- e_source_set_color (system_source, 0xBECEDD); ++ e_source_set_color_spec (system_source, "#BECEDD"); + + /* Set the group for the source and put it in the group */ + e_source_set_group (system_source, local_group); +diff --git a/src/dates_view.c b/src/dates_view.c +index d65db2f..9d28a15 100644 +--- a/src/dates_view.c ++++ b/src/dates_view.c +@@ -4846,7 +4846,6 @@ dates_view_add_calendar (DatesView *view, ECal *ecal) + DatesViewPrivate *priv = DATES_VIEW_GET_PRIVATE (view); + DatesViewCalendar *cal; + ESource *source; +- guint32 colour; + /* GError *error = NULL;*/ + + g_return_if_fail (E_IS_CAL (ecal)); +@@ -4876,12 +4875,11 @@ dates_view_add_calendar (DatesView *view, ECal *ecal) + cal->text_gc = gdk_gc_new ( + GDK_DRAWABLE (priv->main->window)); + +- if (e_source_get_color (source, &colour)) { ++ const gchar* spec = e_source_peek_color_spec (source); ++ if (spec) { + GdkColor gcolour, dgcolour, tgcolour; +- gcolour.red = ((colour & 0xFF0000) >> 16) * 0x101; +- gcolour.green = ((colour & 0xFF00) >> 8) * 0x101; +- gcolour.blue = (colour & 0xFF) * 0x101; +- ++ gdk_color_parse(spec, &gcolour); ++ + /* This is simplified sRGB -> LAB conversion; we do not need it + * entirely precise, as we are only going to chose between + * black or white text based on the L value. +-- +1.7.3.1 + diff --git a/community/dates/PKGBUILD b/community/dates/PKGBUILD new file mode 100644 index 000000000..668eb6177 --- /dev/null +++ b/community/dates/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 68466 2012-03-25 08:50:04Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=dates +pkgver=0.4.11 +pkgrel=4 +pkgdesc="Small, lightweight GTK+ calendar app" +arch=('i686' 'x86_64') +url="http://pimlico-project.org/dates.html" +license=('GPL') +depends=('gtk2' 'evolution-data-server' 'xdg-utils') +makedepends=('intltool') +options=('!emptydirs') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 + 0001-Replaced-the-calls-to-the-deprecated-functions-e_sou.patch + 0001-Fix-Makefile-whitespace.patch + 0001-Fix-FTBFS-with-newer-GCC.patch) +sha256sums=('60b0cfe1fa6dee684e255c2a0cd02febafb9d16607ba4b05196e983cd8012c03' + '88ab8de4861253be1a8db1be4432f71307fcffa376be95e9495cff021b7ead62' + 'fc20f51200a78c74881b98f2b2ea9c3ba01f09393fcc2cf38ecab78ee54f4bb4' + '0e32c4d9ac4c604330bf8672e47e44c710ae56d9f6dc496e736166c536a4787e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir/0001-Replaced-the-calls-to-the-deprecated-functions-e_sou.patch" + patch -Np1 -i "$srcdir/0001-Fix-Makefile-whitespace.patch" + patch -Np1 -i "$srcdir/0001-Fix-FTBFS-with-newer-GCC.patch" + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-owl + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/dates/dates.install b/community/dates/dates.install new file mode 100644 index 000000000..2c455e952 --- /dev/null +++ b/community/dates/dates.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/exfat-utils/PKGBUILD b/community/exfat-utils/PKGBUILD index 95bf5fd88..b5436156e 100644 --- a/community/exfat-utils/PKGBUILD +++ b/community/exfat-utils/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 63825 2012-02-05 21:05:12Z giovanni $ +# $Id: PKGBUILD 68470 2012-03-25 09:10:23Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alex <mail.avatar@gmail.com> pkgname=exfat-utils -pkgver=0.9.6 -pkgrel=2 +pkgver=0.9.7 +pkgrel=1 pkgdesc="Utilities for exFAT file system" arch=('i686' 'x86_64') url="http://code.google.com/p/exfat/" @@ -12,11 +12,12 @@ license=('GPL3') depends=('glibc') makedepends=('scons') source=("http://exfat.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") -md5sums=('6722b7a919b4924bc64f86bccfedb0a6') +md5sums=('1bd94db19fc556701b16a66f6291b4ca') package() { cd "${srcdir}/${pkgname}-${pkgver}" - scons CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" install DESTDIR="${pkgdir}/sbin" + + scons CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS} " install DESTDIR="${pkgdir}/sbin" # Install man pages install -Dm444 dump/dumpexfat.8 "${pkgdir}/usr/share/man/man8/dumpexfat.8" diff --git a/community/flashrom/PKGBUILD b/community/flashrom/PKGBUILD index f2fe8fd82..45df02832 100644 --- a/community/flashrom/PKGBUILD +++ b/community/flashrom/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 66659 2012-02-27 00:56:28Z giovanni $ +# $Id: PKGBUILD 68472 2012-03-25 09:15:40Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Cilyan Olowen <gaknar@gmail.com> # Contributor: fill <mailbox@fillo.ru> # Contributor: Anton Shestakov <engored*ya.ru> pkgname=flashrom -pkgver=0.9.5.1 +pkgver=0.9.5.2 pkgrel=1 pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips" url="http://www.flashrom.org/" @@ -14,7 +14,7 @@ license=('GPL') depends=('libftdi' 'pciutils') optdepends=('dmidecode: for SMBIOS/DMI table decoder support') source=("http://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2") -md5sums=('3b82658d71fb852aa45001cdf5f3e013') +md5sums=('280f8b1d3ef0533d6ec913b0da857477') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/fuse-exfat/PKGBUILD b/community/fuse-exfat/PKGBUILD index 1bb0daf0b..8df8a4d10 100644 --- a/community/fuse-exfat/PKGBUILD +++ b/community/fuse-exfat/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 63829 2012-02-05 21:18:47Z giovanni $ +# $Id: PKGBUILD 68468 2012-03-25 09:05:15Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: GaoShichao <xgdgsc@gmail.com> pkgname=fuse-exfat -pkgver=0.9.6 -pkgrel=2 +pkgver=0.9.7 +pkgrel=1 pkgdesc="Free exFAT file system implementation" arch=('i686' 'x86_64') url="http://code.google.com/p/exfat/" @@ -12,13 +12,14 @@ license=('GPL3') depends=('fuse') makedepends=('scons') optdepends=('exfat-utils: utilities for exFAT file system' - 'util-linux-ng: to mount exFAT volumes automatically') + 'util-linux: to mount exFAT volumes automatically') source=("http://exfat.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") -md5sums=('809be0bc49c3b2be3f2d0fd115d36709') +md5sums=('ea8eddcc68ec8881cb8a280086297e39') package() { cd "${srcdir}/${pkgname}-${pkgver}" - scons CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" install DESTDIR="${pkgdir}/sbin" + + scons CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS} " install DESTDIR="${pkgdir}/sbin" # Install man page install -Dm444 fuse/mount.exfat-fuse.8 "${pkgdir}/usr/share/man/man8/mount.exfat-fuse.8" diff --git a/community/regexxer/PKGBUILD b/community/regexxer/PKGBUILD new file mode 100644 index 000000000..85d87b7a6 --- /dev/null +++ b/community/regexxer/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 68478 2012-03-25 19:09:20Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=regexxer +pkgver=0.10 +pkgrel=2 +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) +sha256sums=('2a7832541a0306b3d4eb63a1cf8978d7bbfc7927e9304473fe801d71fd99736c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + 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.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 +} |