1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
3 # Contributor: Sebastian Sareyko <public@nooms.de>
8 pkgdesc="The GNUstep base package"
10 url="http://www.gnustep.org/"
11 license=("GPL" "LGPL")
12 depends=(libxslt avahi gmp gcc-libs openssl libffi gnutls icu)
13 makedepends=(gcc-objc gnustep-make)
14 groups=('gnustep-core')
15 options=('!emptydirs' '!makeflags')
16 source=(https://github.com/gnustep/libs-base/releases/download/base-${pkgver//./_}/gnustep-base-${pkgver}.tar.gz{,.sig}
18 sha256sums=('fa58eda665c3e0b9c420dc32bb3d51247a407c944d82e5eed1afe8a2b943ef37'
20 '0b38c3df1a150bc64fb4f37cd92cfc63fa7c0741a77eca940fb992942858d7d0')
21 validpgpkeys=('83AAE47CE829A4146EF83420CA868D4C99149679')
25 patch -Np0 -i ../icu68.patch
30 source /usr/share/GNUstep/Makefiles/GNUstep.sh
31 ./configure --prefix=/usr --sysconfdir=/etc/GNUstep \
32 --with-ffi-include=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/
34 sed -i 's/tar -xf $(TIMEZONE_ARCHIVE);/tar -xf $(TIMEZONE_ARCHIVE);chown -R root:root * ;/' NSTimeZones/Makefile.postamble
35 sed -i 's|.*gnutls_transport_set_lowat.*||' Source/GSSocketStream.m
41 make DESTDIR="$pkgdir" install
42 chown -R root.root "$pkgdir/"