PKGBUILDs/community/gnustep-base/PKGBUILD

32 lines
1.1 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 2068 2009-09-08 10:07:46Z 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.18.0
pkgrel=3
pkgdesc="The GNUstep base package"
arch=('i686' 'x86_64')
url="http://www.gnustep.org/"
license=("GPL" "LGPL")
depends=(libxslt avahi gmp gcc-objc openssl ffcall gnustep-make gnutls)
conflicts=('gnustep-base-svn')
groups=('gnustep-core')
options=('!emptydirs' '!makeflags')
source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz)
md5sums=('880491e0fc64ab3507887f43faa67572')
build() {
cd $startdir/src/$pkgname-$pkgver
source /etc/profile.d/GNUstep.sh
# need this stupid hack
mkdir -p $startdir/pkg/opt/GNUstep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones
./configure --prefix=/opt/GNUstep
# 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=$startdir/pkg install || return 1
chown -R root.root $startdir/pkg/
}