summaryrefslogtreecommitdiff
path: root/community/gnustep-base/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnustep-base/PKGBUILD')
-rw-r--r--community/gnustep-base/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/gnustep-base/PKGBUILD b/community/gnustep-base/PKGBUILD
new file mode 100644
index 000000000..ca618a996
--- /dev/null
+++ b/community/gnustep-base/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 22746 2010-07-29 11:42:29Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor: Sebastian Sareyko <public@nooms.de>
+
+pkgname=gnustep-base
+pkgver=1.20.1
+pkgrel=1
+pkgdesc="The GNUstep base package"
+arch=('i686' 'x86_64')
+url="http://www.gnustep.org/"
+license=("GPL" "LGPL")
+depends=(libxslt avahi gmp gcc-libs openssl ffcall gnustep-make gnutls)
+makedepends=(gcc-objc)
+conflicts=('gnustep-base-svn')
+groups=('gnustep-core')
+options=('!emptydirs' '!makeflags')
+source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz)
+md5sums=('8ade7c698159df7a43c7b5052321e4e0')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ source /etc/profile.d/GNUstep.sh
+ # need this stupid hack
+ mkdir -p $pkgdir/opt/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones
+ ./configure --prefix=/opt/GNUstep --enable-ffcall --disable-libffi
+ # fix file ownership
+ sed -i 's/tar -xf $(TIMEZONE_ARCHIVE);/tar -xf $(TIMEZONE_ARCHIVE);chown -R root:root * ;/' NSTimeZones/Makefile.postamble
+ make VERBOSE=1 || return 1
+ make DESTDIR=$pkgdir install || return 1
+ chown -R root.root $pkgdir/
+}