From 2bb68582f492bc30c82314e8867b6e41f29bbfe5 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Mon, 11 Jan 2016 09:18:09 +0100 Subject: [PATCH] pacman-astronaut makes a repo now --- astronaut/pacman-astronaut | 1 + satellites/astronaut.sat | 2 ++ 2 files changed, 3 insertions(+) diff --git a/astronaut/pacman-astronaut b/astronaut/pacman-astronaut index acd33f3..625fcc7 100755 --- a/astronaut/pacman-astronaut +++ b/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' . 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" +repo-add astronaut.db.tar.gz "$name-$version-astro-$(uname -m).pkg.tar.xz" diff --git a/satellites/astronaut.sat b/satellites/astronaut.sat index e897c3f..0ff1fb8 100644 --- a/satellites/astronaut.sat +++ b/satellites/astronaut.sat @@ -5,11 +5,13 @@ extrafile "astronaut" extrafile "astrohelp" extrafile "freshnaut" extrafile "xbps-astronaut" +extrafile "pacman-astronaut" 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" # vim:set tabstop=4 shiftwidth=4 syntax=sh et: