From 19b9a12a93a45cc02b31de9b40c45029fbf3c569 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 20 Mar 2022 00:00:54 +0000 Subject: changed the linux kernel configs --- repo/system/sbase.xibuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'repo/system/sbase.xibuild') 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 } -- cgit v1.2.1