Setup updated for current sPKG standards

This commit is contained in:
Ohio2 2021-07-01 18:06:28 +02:00
parent 87198c7507
commit 06d5c456a9

3
spkg
View file

@ -3,6 +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
cp ./spkg "${prefix}"/usr/bin/spkg cp ./spkg "${prefix}"/usr/bin/spkg
chmod +x "${prefix}"/usr/bin/spkg chmod +x "${prefix}"/usr/bin/spkg
mkdir "${prefix}"/etc/ mkdir "${prefix}"/etc/