summaryrefslogtreecommitdiff
path: root/core/bash/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/bash/PKGBUILD')
-rw-r--r--core/bash/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/bash/PKGBUILD b/core/bash/PKGBUILD
index e8f4b53ef..730c49061 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')
license=('GPL')
@@ -42,8 +42,7 @@ build() {
export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
./configure --prefix=/usr --with-curses --enable-readline \
- --without-bash-malloc --with-installed-readline \
- --bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info
+ --without-bash-malloc --with-installed-readline
make
}
@@ -56,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/