summaryrefslogtreecommitdiff
path: root/community/gnubiff/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnubiff/PKGBUILD')
-rw-r--r--community/gnubiff/PKGBUILD40
1 files changed, 7 insertions, 33 deletions
diff --git a/community/gnubiff/PKGBUILD b/community/gnubiff/PKGBUILD
index 5dd567d8a..03485f1f1 100644
--- a/community/gnubiff/PKGBUILD
+++ b/community/gnubiff/PKGBUILD
@@ -1,55 +1,29 @@
-# $Id: PKGBUILD 53951 2011-08-10 14:38:08Z spupykin $
+# $Id: PKGBUILD 63600 2012-02-05 11:59:28Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tom K <tomk@runbox.com>
# Contributor: Todd Musall <tmusall@gmail.com>
pkgname=gnubiff
-pkgver=2.2.13
-pkgrel=2
+pkgver=2.2.14
+pkgrel=1
pkgdesc="Mail notification program that checks for mail and displays headers when new mail has arrived"
arch=('i686' 'x86_64')
url="http://gnubiff.sourceforge.net/"
license=("GPL")
-depends=('libglade' 'gtk2' 'popt')
+depends=('libglade' 'gtk3' 'popt')
makedepends=('perlxml' 'intltool')
conflicts=(gnubiff-gtk)
source=(http://downloads.sourceforge.net/gnubiff/gnubiff-$pkgver.tar.gz)
-md5sums=('65423957eb027b94c9e661611c0e4271')
+md5sums=('f2a2c3485d2f3f0adff1b7665c2f3b24')
build() {
[ "$GNOMEDIR" = "" ] && GNOMEDIR=/usr
- cd $startdir/src/gnubiff-$pkgver
-
- patch -p2 src/support.h <<EOF
-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;
- }
-EOF
+ cd $srcdir/gnubiff-$pkgver
./configure --prefix=/usr --with-password --with-password-string="65423957eb027b94c9e661611c0e4271" \
--disable-fam --disable-gnome
make
- make DESTDIR=$startdir/pkg install
+ make DESTDIR=$pkgdir install
rm -rf ${pkgdir}/usr/share/info/dir
}