Merge pull request 'Add zsh & nano' (#20) from Ohio2/repo:master into master

Reviewed-on: #20
This commit is contained in:
hippoz 2021-07-13 17:36:06 +01:00
commit c2bdb476a4
6 changed files with 29 additions and 2 deletions

3
bash/build Normal file → Executable file
View file

@ -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"

10
nano/build Executable file
View file

@ -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

5
nano/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="5.8"
pkg_config_name="nano"
pkg_config_makedepends=""
pkg_config_depends=""

2
pthread/build Normal file → Executable file
View file

@ -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

6
zsh/build Executable file
View file

@ -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"

5
zsh/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="5.8"
pkg_config_name="zsh"
pkg_config_makedepends=""
pkg_config_depends=""