summaryrefslogtreecommitdiff
path: root/community/pantomime
diff options
context:
space:
mode:
Diffstat (limited to 'community/pantomime')
-rw-r--r--community/pantomime/PKGBUILD28
-rw-r--r--community/pantomime/build-fix.patch12
2 files changed, 28 insertions, 12 deletions
diff --git a/community/pantomime/PKGBUILD b/community/pantomime/PKGBUILD
index 2d0156179..1d3654d74 100644
--- a/community/pantomime/PKGBUILD
+++ b/community/pantomime/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 14370 2010-04-03 00:07:53Z foutrelis $
+# $Id: PKGBUILD 46068 2011-05-03 10:04:36Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Sebastian Sareyko <public@nooms.de>
pkgname=pantomime
pkgver=1.2.0pre3
-pkgrel=2
+pkgrel=3
pkgdesc="A set of Objective-C classes that model a mail system"
arch=('i686' 'x86_64')
url="http://www.collaboration-world.com/pantomime"
@@ -12,17 +13,20 @@ license=("LGPL" "custom")
depends=('gnustep-back' 'openssl')
makedepends=('gnustep-make' 'gnustep-base' 'gcc-objc')
options=('!makeflags')
-source=(http://www.collaboration-world.com/cgi-bin/project/download.cgi/Pantomime-$pkgver.tar.gz?rid=104)
-md5sums=('b88f4634ec1f3a1ea1d5551ee10d9db7')
+source=("Pantomime-$pkgver.tar.gz::http://www.collaboration-world.com/cgi-bin/project/download.cgi/Pantomime-$pkgver.tar.gz?rid=104"
+ build-fix.patch)
+md5sums=('b88f4634ec1f3a1ea1d5551ee10d9db7'
+ '53dc4960f4c2b50274ca01b2f29567d0')
build() {
+ cd $srcdir/Pantomime
source /etc/profile.d/GNUstep.sh
- cd $startdir/src
- mv Pantomime-$pkgver.tar.gz?rid=104 Pantomime-$pkgver.tar.gz
- tar xfz Pantomime-$pkgver.tar.gz
- cd $startdir/src/Pantomime
+ patch -p1 <$srcdir/build-fix.patch
+ make
+}
- make || return 1
- make GNUSTEP_INSTALLATION_DIR=$startdir/pkg/opt/GNUstep/System install || return 1
- install -D -m644 Documentation/LICENSE.elm $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.elm
-}
+package() {
+ cd $srcdir/Pantomime
+ make GNUSTEP_INSTALLATION_DIR=$pkgdir/opt/GNUstep/System install
+ install -D -m644 Documentation/LICENSE.elm $pkgdir/usr/share/licenses/$pkgname/LICENSE.elm
+}
diff --git a/community/pantomime/build-fix.patch b/community/pantomime/build-fix.patch
new file mode 100644
index 000000000..5696024b4
--- /dev/null
+++ b/community/pantomime/build-fix.patch
@@ -0,0 +1,12 @@
+diff -wbBur Pantomime/Framework/Pantomime/NSString+Extensions.m Pantomime.my/Framework/Pantomime/NSString+Extensions.m
+--- Pantomime/Framework/Pantomime/NSString+Extensions.m 2006-09-04 20:04:02.000000000 +0000
++++ Pantomime.my/Framework/Pantomime/NSString+Extensions.m 2011-05-03 09:49:54.000000000 +0000
+@@ -41,7 +41,7 @@
+ #include <CoreFoundation/CFString.h>
+ #include <CoreFoundation/CFStringEncodingExt.h>
+ #else
+-#include <GNUstepBase/GSCategories.h>
++//#include <GNUstepBase/GSCategories.h>
+ #endif
+
+ #include <ctype.h>