diff options
Diffstat (limited to 'core/bash/PKGBUILD')
-rw-r--r-- | core/bash/PKGBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/core/bash/PKGBUILD b/core/bash/PKGBUILD index b8946099e..631b28523 100644 --- a/core/bash/PKGBUILD +++ b/core/bash/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 174629 2013-01-05 10:20:51Z allan $ +# $Id: PKGBUILD 176041 2013-01-26 23:37:21Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Aaron Griffin <aaron@archlinux.org> @@ -6,7 +6,7 @@ pkgname=bash _basever=4.2 _patchlevel=042 #prepare for some patches pkgver=$_basever.$_patchlevel -pkgrel=1 +pkgrel=2 pkgdesc="The GNU Bourne Again shell" arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -42,9 +42,7 @@ build() { export CFLAGS="${CFLAGS} ${_bashconfig[@]}" ./configure --prefix=/usr --with-curses --enable-readline \ - --host=$CHOST --build=$CHOST \ - --without-bash-malloc --with-installed-readline \ - --bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info + --without-bash-malloc --with-installed-readline make } @@ -57,9 +55,10 @@ package() { cd ${srcdir}/${pkgname}-$_basever make DESTDIR=${pkgdir} install - # for now, bash is our default /bin/sh - cd ${pkgdir}/bin - ln -s bash sh + # put needed symlinks in /bin + install -dm755 ${pkgdir}/bin + ln -s ../usr/bin/bash ${pkgdir}/bin/bash + ln -s ../usr/bin/bash ${pkgdir}/bin/sh install -dm755 ${pkgdir}/etc/skel/ |