aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/bash
diff options
context:
space:
mode:
Diffstat (limited to 'repos/extra/bash')
-rw-r--r--repos/extra/bash/abuild (renamed from repos/extra/bash/info)8
-rw-r--r--repos/extra/bash/postbuild5
2 files changed, 8 insertions, 5 deletions
diff --git a/repos/extra/bash/info b/repos/extra/bash/abuild
index 1eeb724f..1815d91d 100644
--- a/repos/extra/bash/info
+++ b/repos/extra/bash/abuild
@@ -4,3 +4,11 @@ release=1
source="https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
bashrc"
build_opt="--without-bash-malloc --with-installed-readline"
+
+postbuild() {
+ mkdir -p $PKG/bin
+ mv $PKG/usr/bin/bash $PKG/bin
+
+ install -d $PKG/etc
+ install -m644 $SRC/bashrc $PKG/etc
+}
diff --git a/repos/extra/bash/postbuild b/repos/extra/bash/postbuild
deleted file mode 100644
index 36899699..00000000
--- a/repos/extra/bash/postbuild
+++ /dev/null
@@ -1,5 +0,0 @@
-mkdir -p $PKG/bin
-mv $PKG/usr/bin/bash $PKG/bin
-
-install -d $PKG/etc
-install -m644 $SRC/bashrc $PKG/etc