diff options
Diffstat (limited to 'bash/Pkgfile')
-rw-r--r-- | bash/Pkgfile | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/bash/Pkgfile b/bash/Pkgfile index a225decc..0679a320 100644 --- a/bash/Pkgfile +++ b/bash/Pkgfile @@ -4,30 +4,28 @@ # Depends on: ncurses name=bash -version=3.2.48 +version=4.0.17 release=1 -source=(http://ftp.gnu.org/gnu/$name/$name-3.2.tar.gz \ - $name-3.2-001-048.patch \ - $name-3.2-doc.patch \ +source=(http://ftp.gnu.org/gnu/$name/$name-4.0.tar.gz \ + $name-4.0-001-017.patch.gz \ profile) build() { - cd $name-3.2 + cd $name-4.0 - patch -p0 -i $SRC/$name-3.2-001-048.patch - patch -p1 -i $SRC/$name-3.2-doc.patch + gunzip -c $SRC/$name-4.0-001-017.patch.gz | patch -p0 - touch configure ./configure --prefix=/usr \ --exec-prefix= \ --mandir=/usr/man \ --disable-nls \ --with-curses make -j1 - make DESTDIR=$PKG install - rm -rf $PKG/usr/info $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1 + install -D -m 755 bash $PKG/bin/bash + install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1 install -D -m 644 $SRC/profile $PKG/etc/profile - ln -sf bash $PKG/bin/sh - ln -sf bash.1 $PKG/usr/man/man1/sh.1 + + ln -s bash $PKG/bin/sh + ln -s bash.1 $PKG/usr/man/man1/sh.1 } |