# $Id: PKGBUILD 69454 2012-04-16 13:51:34Z spupykin $ # Maintainer: Vesa Kaihlavirta # Contributor: Sebastian Sareyko pkgname=gnustep-make pkgver=2.6.2 pkgrel=2 pkgdesc="The GNUstep make package" arch=('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=('b926d142debc9f38d75b11019c31889f') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc/GNUstep make } 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 install -D -m755 \ $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh \ $pkgdir/etc/profile.d/GNUstep.sh }