summaryrefslogtreecommitdiff
path: root/community/gnustep-make/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnustep-make/PKGBUILD')
-rw-r--r--community/gnustep-make/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/community/gnustep-make/PKGBUILD b/community/gnustep-make/PKGBUILD
index 4afbd0cc9..c33c4a79f 100644
--- a/community/gnustep-make/PKGBUILD
+++ b/community/gnustep-make/PKGBUILD
@@ -1,19 +1,19 @@
-# $Id: PKGBUILD 69454 2012-04-16 13:51:34Z spupykin $
+# $Id: PKGBUILD 96982 2013-09-09 19:40:39Z bgyorgy $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Sebastian Sareyko <public@nooms.de>
pkgname=gnustep-make
-pkgver=2.6.4
-pkgrel=1.1
+pkgver=2.6.5
+pkgrel=2
pkgdesc="The GNUstep make package"
-arch=('mips64el')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnustep.org/"
license=('GPL')
depends=()
conflicts=('gnustep-make-svn')
groups=('gnustep-core')
source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz)
-md5sums=('c5617da024add87ce9b09726bb9328a6')
+md5sums=('1e143d2c920cef02535ab533af8b1846')
build() {
cd $srcdir/$pkgname-$pkgver
@@ -25,8 +25,11 @@ package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
- sed -i 's|GNUSTEP_HOST_CPU=.*|GNUSTEP_HOST_CPU=mips64el|' $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh
- sed -i 's|GNUSTEP_HOST=.*|GNUSTEP_HOST=mips64el-unknown-linux-gnu|' $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh
+ if [ "$CARCH" = "mips64el" ]; then
+ sed -i 's|GNUSTEP_HOST_CPU=.*|GNUSTEP_HOST_CPU=mips64el|' $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh
+ sed -i 's|GNUSTEP_HOST=.*|GNUSTEP_HOST=mips64el-unknown-linux-gnu|' $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh
+ fi
+
install -D -m755 \
$pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh \
$pkgdir/etc/profile.d/GNUstep.sh