blob: c33c4a79fc9a74cb50ac5a016a397a77f2d0bd57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $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.5
pkgrel=2
pkgdesc="The GNUstep make package"
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=('1e143d2c920cef02535ab533af8b1846')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc/GNUstep
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
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
}
|