Merge pull request 'Add grub, zstd, vim' (#27) from Ohio2/repo:master into master

Reviewed-on: #27
This commit is contained in:
hippoz 2021-07-16 23:35:59 +01:00
commit d1a92bbeef
6 changed files with 48 additions and 0 deletions

9
grub/build Executable file
View file

@ -0,0 +1,9 @@
wget https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz
tar -xf grub-2.06.tar.xz
cd grub-2.06
./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc --disable-efiemu --disable-werror
make
make DESTDIR="$1" install
mv -v $1/etc/bash_completion.d/grub $1/usr/share/bash-completion/completions

5
grub/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="2.6"
pkg_config_name="grub"
pkg_config_makedepends=""
pkg_config_depends=""

15
vim/build Executable file
View file

@ -0,0 +1,15 @@
wget https://anduin.linuxfromscratch.org/BLFS/vim/vim-8.2.2890.tar.gz
tar -xf vim-8.2.2890.tar.gz
cd vim-8.2.2890
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h &&
./configure --prefix=/usr --with-features=huge --enable-gui=gtk3 --with-tlib=ncursesw
make
make DESTDIR="$1"
ln -snfv ../vim/vim82/doc $1/usr/share/doc/vim-8.2.2890
rsync -avzcP --exclude="$1/dos/" --exclude="/spell/" \
ftp.nluug.nl::Vim/runtime/ ./runtime/
make -C src installruntime
vim -c ":helptags /usr/share/doc/vim-8.2.2890" -c ":q"

5
vim/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="8.2.2890"
pkg_config_name="zlib"
pkg_config_makedepends=""
pkg_config_depends=""

9
zstd/build Executable file
View file

@ -0,0 +1,9 @@
wget https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz
tar -xf zstd-1.5.0.tar.gz
cd zstd-1.5.0
make
make prefix="$1/usr"
rm -v $1/usr/lib/libzstd.a
mv -v $1/usr/lib/libzstd.so.* $1/lib
ln -sfv ../../lib/$(readlink $1/usr/lib/libzstd.so) $1/usr/lib/libzstd.so

5
zstd/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="1.5.0"
pkg_config_name="zstd"
pkg_config_makedepends=""
pkg_config_depends=""