diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /community-testing/gnubiff-gtk | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'community-testing/gnubiff-gtk')
-rw-r--r-- | community-testing/gnubiff-gtk/PKGBUILD | 31 | ||||
-rw-r--r-- | community-testing/gnubiff-gtk/build.patch | 23 |
2 files changed, 54 insertions, 0 deletions
diff --git a/community-testing/gnubiff-gtk/PKGBUILD b/community-testing/gnubiff-gtk/PKGBUILD new file mode 100644 index 000000000..4ec2ed6c2 --- /dev/null +++ b/community-testing/gnubiff-gtk/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 63140 2012-01-30 18:58:46Z ibiru $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Tom K <tomk@runbox.com> +# Contributor: Todd Musall <tmusall@gmail.com> + +pkgname=gnubiff-gtk +pkgver=2.2.14 +pkgrel=1 +pkgdesc="Mail notification program that checks for mail and displays headers when new mail has arrived. GTK version." +arch=('i686' 'x86_64') +url="http://gnubiff.sourceforge.net/" +license=("GPL") +depends=('libglade' 'gtk3' 'openssl' 'popt') +makedepends=('intltool') +conflicts=('gnubiff') +source=(http://downloads.sourceforge.net/sourceforge/gnubiff/gnubiff-$pkgver.tar.gz + build.patch) +md5sums=('f2a2c3485d2f3f0adff1b7665c2f3b24' + '96fde605eb69e300f6014546d4339beb') + +build() { + cd $srcdir/gnubiff-$pkgver +# patch -p1 <../build.patch + export LDFLAGS=-lX11 + ./configure --prefix=/usr --disable-gnome --disable-fam --with-password --with-password-string="65423957eb027b94c9e661611c0e4271" + make + make DESTDIR=$pkgdir install + rm -rf $pkgdir/usr/lib + rm -rf $pkgdir/usr/share/gnome-2.0 + rm -rf ${pkgdir}/usr/share/info/dir +} diff --git a/community-testing/gnubiff-gtk/build.patch b/community-testing/gnubiff-gtk/build.patch new file mode 100644 index 000000000..523b0557e --- /dev/null +++ b/community-testing/gnubiff-gtk/build.patch @@ -0,0 +1,23 @@ +diff -wbBur gnubiff-2.2.10/src/support.h gnubiff-2.2.10.my/src/support.h +--- gnubiff-2.2.10/src/support.h 2008-03-22 05:08:51.000000000 +0300 ++++ gnubiff-2.2.10.my/src/support.h 2008-04-22 14:21:58.000000000 +0400 +@@ -35,6 +35,9 @@ + #endif + #include "nls.h" + ++#include <stdlib.h> ++#define EXIT_SUCCESS 0 ++#define EXIT_FAILURE 1 + + #include <glib.h> + #include <sstream> +@@ -131,6 +134,9 @@ + if ((pos == end) && (last < num)) + result << sep << num; + ++ if ((pos == end) && (last != num)) ++ result << sep << num; ++ + // Save new number + inf_bound = last = num; + } |