forked from alnux/repo
parent
5fb7ca5148
commit
0b699eb08e
3 changed files with 17 additions and 1 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=""
|
|
@ -1 +0,0 @@
|
|||
PS1="($(whoami) on Alnux, working dir: $(pwd))"%\#%_
|
Loading…
Reference in a new issue