|
@ -19,9 +19,11 @@ _nuke_dir_install=true |
|
|
|
|
|
|
|
|
. "$_astronaut" |
|
|
. "$_astronaut" |
|
|
|
|
|
|
|
|
|
|
|
# Gzip man and info pages |
|
|
|
|
|
[ -d "$dir_install/$dir_prefix/$dir_mandir" ] && gzip -9 -r "$dir_install/$dir_prefix/$dir_mandir" |
|
|
|
|
|
[ -d "$dir_install/$dir_prefix/$dir_infodir" ] && gzip -9 -r "$dir_install/$dir_prefix/$dir_infodir" |
|
|
|
|
|
|
|
|
# _dir_pkgtools should be set from a configuration file (e.g. ~/.astronaut.conf), and points to wherever you want your packages to be placed. |
|
|
# _dir_pkgtools should be set from a configuration file (e.g. ~/.astronaut.conf), and points to wherever you want your packages to be placed. |
|
|
[ "$dir_wrapper_pkgtools" ] && mkdir -p "$dir_wrapper_pkgtools" || dir_wrapper_pkgtools="$_topdir" |
|
|
[ "$dir_wrapper_pkgtools" ] && mkdir -p "$dir_wrapper_pkgtools" || dir_wrapper_pkgtools="$_topdir" |
|
|
cd "$dir_install" |
|
|
cd "$dir_install" |
|
|
[ -d usr/share/man ] && gzip -9 -r usr/share/man |
|
|
|
|
|
[ -d usr/man ] && gzip -9 -r usr/man |
|
|
|
|
|
PATH=$PATH:/sbin "$_fakeroot" makepkg -l y -c n "$dir_wrapper_pkgtools/$name-$version-$(uname -m)-astro.tgz" |
|
|
PATH=$PATH:/sbin "$_fakeroot" makepkg -l y -c n "$dir_wrapper_pkgtools/$name-$version-$(uname -m)-astro.tgz" |
|
|