kiss-repo

personal package repository
git clone git://bvnf.space/kiss-repo.git
Log | Files | Refs | README | LICENSE

build (348B)


      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
#!/bin/sh -e

uxnasm kernel.tal kernel.rom
uxncli kernel.rom <uf.f

mkdir -p "$1/usr/bin/" "$1/usr/share/uf/"
cp uf.rom ufx.rom "$1/usr/share/uf/"

cat > "$1/usr/bin/uf" <<EOF
#!/bin/sh

uxnemu /usr/share/uf/uf.rom "\$@"
EOF

cat > "$1/usr/bin/ufx" <<EOF
#!/bin/sh

uxncli /usr/share/uf/ufx.rom "\$@"
EOF

chmod +x "$1/usr/bin/uf" "$1/usr/bin/ufx"