From 9780d07c31b22125ad7ecba4e281ff41194f95be Mon Sep 17 00:00:00 2001 From: root Date: Wed, 4 May 2011 12:58:32 +0000 Subject: Wed May 4 12:58:31 UTC 2011 --- community/pantomime/PKGBUILD | 28 ++++++++++++++++------------ community/pantomime/build-fix.patch | 12 ++++++++++++ 2 files changed, 28 insertions(+), 12 deletions(-) create mode 100644 community/pantomime/build-fix.patch (limited to 'community/pantomime') 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 # Maintainer: Vesa Kaihlavirta # Contributor: Sebastian Sareyko 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 + #include + #else +-#include ++//#include + #endif + + #include -- cgit v1.2.3-54-g00ecf