|
@ -30,6 +30,9 @@ if [ -d "$dir_install/$dir_prefix/$dir_infodir" ]; then |
|
|
gzip -9 -r "$dir_install/$dir_prefix/$dir_infodir" |
|
|
gzip -9 -r "$dir_install/$dir_prefix/$dir_infodir" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Strip binaries |
|
|
|
|
|
find "$dir_install" | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null | true |
|
|
|
|
|
|
|
|
# Generate slack-desc for proper compliance, even if it's completely redundant |
|
|
# Generate slack-desc for proper compliance, even if it's completely redundant |
|
|
#mkdir -p "$dir_install/install" |
|
|
#mkdir -p "$dir_install/install" |
|
|
#cat > "$dir_install/install/slack-desc" << EOF |
|
|
#cat > "$dir_install/install/slack-desc" << EOF |
|
@ -58,4 +61,4 @@ fi |
|
|
[ "$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" |
|
|
|
|
|
|
|
|
PATH="$PATH:/sbin" $_fakeroot makepkg -l y -c n "$dir_wrapper_pkgtools/$_satname-$(echo "$version" | sed -e 's/-/_/g')-$(uname -m)-astro.tgz" |
|
|
PATH="$PATH:/sbin" $_fakeroot makepkg -l y -c n "$dir_wrapper_pkgtools/$_satname-$(echo "$version" | sed -e 's/-/_/g')-$(uname -m)-astro.txz" |
|
|