diff options
author | davidovski <david@davidovski.xyz> | 2022-03-20 00:00:54 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-20 00:00:54 +0000 |
commit | 19b9a12a93a45cc02b31de9b40c45029fbf3c569 (patch) | |
tree | c2c415813d63b7773fa2a533789a1753b9fee724 /repo/system/sbase.xibuild | |
parent | 1daf71c2980b1920bbdc2f07af669ebf6f0f82d6 (diff) |
changed the linux kernel configs
Diffstat (limited to 'repo/system/sbase.xibuild')
-rw-r--r-- | repo/system/sbase.xibuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/repo/system/sbase.xibuild b/repo/system/sbase.xibuild index 38559f8..a101bb9 100644 --- a/repo/system/sbase.xibuild +++ b/repo/system/sbase.xibuild @@ -4,6 +4,10 @@ MAKEDEPS="make " DEPS="musl acl attr gmp ubase" SOURCE=https://git.suckless.org/sbase +ADDITIONAL=" + https://gitea.linfan.moe/mirror/ataraxia/raw/commit/74914d05c701919fe6aa0d63e131df8c4df420fe/stuff/sbase/realpath.1 + https://gitea.linfan.moe/mirror/ataraxia/raw/commit/74914d05c701919fe6aa0d63e131df8c4df420fe/stuff/sbase/realpath.c +" DESC="sbase from suckless.org" @@ -13,6 +17,8 @@ prepare () { sed -i "39i case 'o':" uname.c sed -i "40i sflag = 1;" uname.c sed -i "41i break;" uname.c + + sed -i '182i realpath\\' Makefile } build () { @@ -27,11 +33,4 @@ package () { rm $PKG_DEST/usr/bin/$p rm $PKG_DEST/usr/share/man/man1/$p.1 done - - # quick and dirty realpath replacement - realpath=$PKG_DEST/usr/bin/realpath - - echo '#!/bin/bash' > $realpath - echo '[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"' >> $realpath - chmod +x $realpath } |