From 7f5e6527c9412ec4b231dcd26de2c78abefac900 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Tue, 13 Jul 2021 01:13:05 +0200 Subject: [PATCH 1/3] add nano --- bash/build | 3 ++- nano/build | 10 ++++++++++ nano/package | 5 +++++ pthread/build | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) mode change 100644 => 100755 bash/build create mode 100755 nano/build create mode 100755 nano/package mode change 100644 => 100755 pthread/build diff --git a/bash/build b/bash/build old mode 100644 new mode 100755 index 04c270e..befa8b7 --- a/bash/build +++ b/bash/build @@ -1,6 +1,7 @@ wget https://ftp.gnu.org/gnu/bash/bash-5.1.8.tar.gz tar -xf bash-5.1.8.tar.gz cd bash-5.1.8 +sed -e 's/$(prefix)/$(DESTDIR)$(prefix)/g' -i Makefile ./configure make -make install +make install DESTDIR-"$1" diff --git a/nano/build b/nano/build new file mode 100755 index 0000000..ceca9be --- /dev/null +++ b/nano/build @@ -0,0 +1,10 @@ +wget https://www.nano-editor.org/dist/v5/nano-5.8.tar.xz +tar -xf nano-5.8.tar.xz +cd nano-5.8 +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-utf8 \ + --docdir=/usr/share/doc/nano-5.8 +make +make install && +install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-5.8 diff --git a/nano/package b/nano/package new file mode 100755 index 0000000..f4235ae --- /dev/null +++ b/nano/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="5.8" +pkg_config_name="nano" +pkg_config_makedepends="" +pkg_config_depends="" diff --git a/pthread/build b/pthread/build old mode 100644 new mode 100755 index 956b992..f9309a8 --- a/pthread/build +++ b/pthread/build @@ -1,6 +1,6 @@ wget https://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz tar -xf pth-2.0.7.tar.gz -cd pth-2.0.7.tar.gz +cd pth-2.0.7 sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in ./configure --prefix=/usr --disable-static --mandir=/usr/share/man make -- 2.30.2 From f3dfedae26cf9bd83532766c4fa0ba04293ee49c Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Tue, 13 Jul 2021 18:25:47 +0200 Subject: [PATCH 2/3] add z-shell --- zsh/build | 6 ++++++ zsh/package | 5 +++++ 2 files changed, 11 insertions(+) create mode 100755 zsh/build create mode 100755 zsh/package diff --git a/zsh/build b/zsh/build new file mode 100755 index 0000000..9b30e78 --- /dev/null +++ b/zsh/build @@ -0,0 +1,6 @@ +wget https://www.zsh.org/pub/zsh-5.8.tar.xz +tar -xf zsh-5.8.tar.xz +cd zsh-5.8 +./configure --prefix=/usr --sysconfdir=/etc/zsh --enable-etcdir=/etc/zsh +make +make install DESTDIR="$1" diff --git a/zsh/package b/zsh/package new file mode 100755 index 0000000..3d309ad --- /dev/null +++ b/zsh/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="5.8" +pkg_config_name="zsh" +pkg_config_makedepends="" +pkg_config_depends="" -- 2.30.2 From 925a0cdd0cce43a89e37249dd99ea7f748033f11 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Tue, 13 Jul 2021 18:33:19 +0200 Subject: [PATCH 3/3] small bash change --- bash/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/build b/bash/build index befa8b7..c957546 100755 --- a/bash/build +++ b/bash/build @@ -4,4 +4,4 @@ cd bash-5.1.8 sed -e 's/$(prefix)/$(DESTDIR)$(prefix)/g' -i Makefile ./configure make -make install DESTDIR-"$1" +make install DESTDIR="$1" -- 2.30.2