summaryrefslogtreecommitdiff
path: root/libre/gnustep-base-libre
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-11-07 21:50:32 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2011-11-07 21:50:32 +0100
commite7fee55d65c5bc0b3fe7412fffd4543da1997ae4 (patch)
treef67a7ba1abf8a9db3e412a57b877dff89b683702 /libre/gnustep-base-libre
parent9c8440f3bd85fc6c0f7dedabeedae38b113b7b86 (diff)
downloadabslibre-e7fee55d65c5bc0b3fe7412fffd4543da1997ae4.tar.gz
abslibre-e7fee55d65c5bc0b3fe7412fffd4543da1997ae4.tar.bz2
abslibre-e7fee55d65c5bc0b3fe7412fffd4543da1997ae4.zip
Build gnustep-make-libre, gnustep-base-libre with exceptions and unarchiver.
Diffstat (limited to 'libre/gnustep-base-libre')
-rw-r--r--libre/gnustep-base-libre/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/libre/gnustep-base-libre/PKGBUILD b/libre/gnustep-base-libre/PKGBUILD
new file mode 100644
index 000000000..9017c71b4
--- /dev/null
+++ b/libre/gnustep-base-libre/PKGBUILD
@@ -0,0 +1,39 @@
+# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu>
+# $Id: PKGBUILD 56058 2011-09-29 17:45:33Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor: Sebastian Sareyko <public@nooms.de>
+
+_pkgname=gnustep-base
+pkgname=gnustep-base-libre
+pkgver=1.23.0
+pkgrel=1
+pkgdesc="The GNUstep base package with exceptions enabled"
+arch=('i686' 'x86_64')
+url="http://www.gnustep.org/"
+license=("GPL" "LGPL")
+depends=(libxslt avahi gmp gcc-libs openssl libffi gnustep-make-libre gnutls)
+makedepends=(gcc-objc)
+conflicts=('gnustep-base-svn' 'gnustep-base')
+provides=('gnustep-base')
+groups=('gnustep-core')
+options=('!emptydirs' '!makeflags')
+source=(ftp://ftp.gnustep.org/pub/gnustep/core/$_pkgname-$pkgver.tar.gz)
+md5sums=('c898a1b6cdc98e83639f319876bdbba6')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ source /etc/profile.d/GNUstep.sh
+ ./configure --prefix=/usr --sysconfdir=/etc/GNUstep \
+ --with-ffi-include=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/
+ # fix file ownership
+ sed -i 's/tar -xf $(TIMEZONE_ARCHIVE);/tar -xf $(TIMEZONE_ARCHIVE);chown -R root:root * ;/' NSTimeZones/Makefile.postamble
+ sed -i 's|.*gnutls_transport_set_lowat.*||' Source/GSSocketStream.m
+ make VERBOSE=1
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ chown -R root.root "$pkgdir/"
+}