forked from alnux/repo
removed linux-bin, added grub & added aps
This commit is contained in:
parent
0f35a036cc
commit
72fe9c1185
8 changed files with 65 additions and 0 deletions
12
aps/build
Executable file
12
aps/build
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
mkdir spkg
|
||||||
|
cd spkg
|
||||||
|
wget https://git.hippoz.xyz/alnux/aps/raw/branch/master/aps
|
||||||
|
|
||||||
|
sed -n -e 1p -e 2p -e 3p -e 4p -e 5p $1/bin/aps > config.tmp
|
||||||
|
. config.tmp
|
||||||
|
sed -i 's/^temp_location./temp_location="${temp_location}"/' aps
|
||||||
|
sed -i 's/^install_root./install_root="${install_root}"/' aps
|
||||||
|
sed -i 's/^installed_pkg_database./installed_pkg_database="${installed_pkg_database}"/' aps
|
||||||
|
sed -i 's/^locpkg_database./locpkg_database="${locpkg_database}"' aps
|
||||||
|
|
||||||
|
install -Dm755 aps $1/bin/aps
|
5
aps/package
Executable file
5
aps/package
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
pkg_config_deploy=true
|
||||||
|
pkg_config_ver="0.0.2"
|
||||||
|
pkg_config_name="aps"
|
||||||
|
pkg_config_makedepends=""
|
||||||
|
pkg_config_depends=""
|
9
grub/build
Executable file
9
grub/build
Executable 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
5
grub/package
Executable 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
15
vim/build
Executable 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
5
vim/package
Executable 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
9
zstd/build
Executable 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
5
zstd/package
Executable 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=""
|
Loading…
Reference in a new issue