Browse Source

Move astronaut.sat into the astronaut dir, set default directories to /tmp

Creating the directories in PWD is kind of irritating
master
mid-kid 9 years ago
parent
commit
c4d11a1335
  1. 6
      astronaut/astronaut
  2. 19
      astronaut/astronaut.sat
  3. 1
      astronaut/extrafiles/astronaut
  4. 19
      satellites/astronaut.sat
  5. 1
      satellites/astronaut.sat
  6. 1
      satellites/extrafiles/astronaut

6
astronaut/astronaut

@ -1,9 +1,9 @@
#!/bin/sh -e #!/bin/sh -e
# Configuration # Configuration
dir_build="$PWD/build" # Temporary directory to build packages dir_build="/tmp/astronaut/build" # Temporary directory to build packages
dir_source="$PWD/source" # Directory where the package sources will be placed dir_source="/tmp/astronaut/source" # Directory where the package sources will be placed
dir_install="$PWD/install" # Directory where the package will be installed dir_install="/tmp/astronaut/install" # Directory where the package will be installed
dir_sysroot="" # The root dir (The directory programs will look in and symlinks will point to) dir_sysroot="" # The root dir (The directory programs will look in and symlinks will point to)
dir_prefix="/usr" # Prefix directory dir_prefix="/usr" # Prefix directory
cmd_download="curl -# -L -o {dst} {src}" # Command to execute to download files cmd_download="curl -# -L -o {dst} {src}" # Command to execute to download files

19
astronaut/astronaut.sat

@ -0,0 +1,19 @@
name=astronaut
version=$(date +%Y%m%d)
extrafile "astronaut"
extrafile "astrohelp"
extrafile "freshnaut"
extrafile "xbps-astronaut"
extrafile "pacman-astronaut"
extrafile "astronautpkg"
header_end
install -D "astronaut" "$dir_install/$dir_prefix/bin/astronaut"
install -D "astrohelp" "$dir_install/$dir_prefix/bin/astrohelp"
install -D "freshnaut" "$dir_install/$dir_prefix/bin/freshnaut"
install -D "xbps-astronaut" "$dir_install/$dir_prefix/bin/xbps-astronaut"
install -D "pacman-astronaut" "$dir_install/$dir_prefix/bin/pacman-astronaut"
install -D "astronautpkg" "$dir_install/$dir_prefix/bin/astronautpkg"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

1
astronaut/extrafiles/astronaut

@ -0,0 +1 @@
..

19
satellites/astronaut.sat

@ -1,19 +0,0 @@
name=astronaut
version=$(date +%Y%m%d)
extrafile "astronaut"
extrafile "astrohelp"
extrafile "freshnaut"
extrafile "xbps-astronaut"
extrafile "pacman-astronaut"
extrafile "astronautpkg"
header_end
install -D "astronaut" "$dir_install/$dir_prefix/bin/astronaut"
install -D "astrohelp" "$dir_install/$dir_prefix/bin/astrohelp"
install -D "freshnaut" "$dir_install/$dir_prefix/bin/freshnaut"
install -D "xbps-astronaut" "$dir_install/$dir_prefix/bin/xbps-astronaut"
install -D "pacman-astronaut" "$dir_install/$dir_prefix/bin/pacman-astronaut"
install -D "astronautpkg" "$dir_install/$dir_prefix/bin/astronautpkg"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:

1
satellites/astronaut.sat

@ -0,0 +1 @@
../astronaut/astronaut.sat

1
satellites/extrafiles/astronaut

@ -1 +0,0 @@
../../astronaut
Loading…
Cancel
Save