Browse Source

pacman-astronaut makes a repo now

master
mid-kid 9 years ago
parent
commit
2bb68582f4
  1. 1
      astronaut/pacman-astronaut
  2. 2
      satellites/astronaut.sat

1
astronaut/pacman-astronaut

@ -30,3 +30,4 @@ EOF
bsdtar --strip-components 1 -C "$dir_install" -czf .MTREE --format=mtree --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' . bsdtar --strip-components 1 -C "$dir_install" -czf .MTREE --format=mtree --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' .
mv .MTREE "$dir_install/.MTREE" # bsdtar doesn't like the file being in the same directory. mv .MTREE "$dir_install/.MTREE" # bsdtar doesn't like the file being in the same directory.
fakeroot -- bsdtar --strip-components 1 -C "$dir_install" -cf - . | xz -c -z - > "$name-$version-astro-$(uname -m).pkg.tar.xz" fakeroot -- bsdtar --strip-components 1 -C "$dir_install" -cf - . | xz -c -z - > "$name-$version-astro-$(uname -m).pkg.tar.xz"
repo-add astronaut.db.tar.gz "$name-$version-astro-$(uname -m).pkg.tar.xz"

2
satellites/astronaut.sat

@ -5,11 +5,13 @@ extrafile "astronaut"
extrafile "astrohelp" extrafile "astrohelp"
extrafile "freshnaut" extrafile "freshnaut"
extrafile "xbps-astronaut" extrafile "xbps-astronaut"
extrafile "pacman-astronaut"
header_end header_end
install -D "astronaut" "$dir_install/$dir_prefix/bin/astronaut" install -D "astronaut" "$dir_install/$dir_prefix/bin/astronaut"
install -D "astrohelp" "$dir_install/$dir_prefix/bin/astrohelp" install -D "astrohelp" "$dir_install/$dir_prefix/bin/astrohelp"
install -D "freshnaut" "$dir_install/$dir_prefix/bin/freshnaut" install -D "freshnaut" "$dir_install/$dir_prefix/bin/freshnaut"
install -D "xbps-astronaut" "$dir_install/$dir_prefix/bin/xbps-astronaut" install -D "xbps-astronaut" "$dir_install/$dir_prefix/bin/xbps-astronaut"
install -D "pacman-astronaut" "$dir_install/$dir_prefix/bin/pacman-astronaut"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: # vim:set tabstop=4 shiftwidth=4 syntax=sh et:

Loading…
Cancel
Save