This commit is contained in:
Ohio2 2021-07-01 18:38:43 +02:00
parent 06d5c456a9
commit 2c9d523f9d

6
spkg
View file

@ -3,11 +3,9 @@ source="https://git.hippoz.xyz/duck/repo/raw/branch/master"
tmpdir="/tmp" tmpdir="/tmp"
setup() { setup() {
prefix=$1 prefix=$1
mkdir "${prefix}"/usr/
mkdir "${prefix}"/usr/bin
mkdir "${prefix}"/bin mkdir "${prefix}"/bin
cp ./spkg "${prefix}"/usr/bin/spkg cp ./spkg "${prefix}"/bin/spkg
chmod +x "${prefix}"/usr/bin/spkg chmod +x "${prefix}"/bin/spkg
mkdir "${prefix}"/etc/ mkdir "${prefix}"/etc/
mv os-release "${prefix}"/etc/ mv os-release "${prefix}"/etc/
} }