From e7fee55d65c5bc0b3fe7412fffd4543da1997ae4 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 7 Nov 2011 21:50:32 +0100 Subject: Build gnustep-make-libre, gnustep-base-libre with exceptions and unarchiver. --- libre/gnustep-base-libre/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ libre/gnustep-make-libre/PKGBUILD | 31 +++++++++++++++++++++++++++++++ libre/unarchiver/PKGBUILD | 2 +- 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 libre/gnustep-base-libre/PKGBUILD create mode 100644 libre/gnustep-make-libre/PKGBUILD (limited to 'libre') 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 +# $Id: PKGBUILD 56058 2011-09-29 17:45:33Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Vesa Kaihlavirta +# Contributor: Sebastian Sareyko + +_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/" +} diff --git a/libre/gnustep-make-libre/PKGBUILD b/libre/gnustep-make-libre/PKGBUILD new file mode 100644 index 000000000..dedf944a3 --- /dev/null +++ b/libre/gnustep-make-libre/PKGBUILD @@ -0,0 +1,31 @@ +# Parabola maintainer: Michał Masłowski +# $Id: PKGBUILD 56053 2011-09-29 17:24:54Z spupykin $ +# Maintainer: Vesa Kaihlavirta +# Contributor: Sebastian Sareyko + +_pkgname=gnustep-make +pkgname=gnustep-make-libre +pkgver=2.6.1 +pkgrel=1 +pkgdesc="The GNUstep make package with exceptions enabled" +arch=('any') +url="http://www.gnustep.org/" +license=('GPL') +depends=('glibc') +conflicts=('gnustep-make-svn' 'gnustep-make') +provides=('gnustep-make') +groups=('gnustep-core') +source=(ftp://ftp.gnustep.org/pub/gnustep/core/${_pkgname}-$pkgver.tar.gz) +md5sums=('071b3a807ca3ec93cda75ac210adc263') + +build() { + cd $srcdir/${_pkgname}-$pkgver + # The option is not needed, but makes clear why we rebuild this. + ./configure --prefix=/usr --sysconfdir=/etc/GNUstep \ + --enable-native-objc-exceptions + make + make DESTDIR=$pkgdir install + install -D -m755 \ + $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh \ + $pkgdir/etc/profile.d/GNUstep.sh +} diff --git a/libre/unarchiver/PKGBUILD b/libre/unarchiver/PKGBUILD index 0d597d96f..a02607b28 100644 --- a/libre/unarchiver/PKGBUILD +++ b/libre/unarchiver/PKGBUILD @@ -6,7 +6,7 @@ pkgdesc="An Objective-C application for uncompressing archive files" arch=('x86_64' 'i686') url="http://wakaba.c3.cx/s/apps/unarchiver.html" license=('LGPL2.1') -depends=('gnustep-base>=1.23.0-1.1' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib') +depends=('gnustep-base-libre>=1.23.0' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib') conflicts=('gnustep-base>=1.24') makedepends=('gcc-objc') source=(http://theunarchiver.googlecode.com/files/TheUnarchiver"$pkgver"_src.zip) -- cgit v1.2.3-54-g00ecf