Removed dir_sysroot, changed all dirs to fall directly below dir_prefix (thus removing the need for dir_sysroot, which is only needed in some exotic circumstances anyway), added the ability to build multiple satellites with one command and restructured the way the wrappers work, added configuration file handling in astronautpkg. Updated all satellites accordingly.
PATH="$PATH:/sbin" $_astronaut_wrapper_fakeroot makepkg -l y -c n "$dir_wrapper_pkgtools/$_satname-$(echo "$version" | sed -e 's/-/_/g')-$(uname -m)-astro.txz"
@ -28,11 +28,11 @@ for opt in $optional_libraries; do
done
done
# NOTE: Only double-conversion from Qt itself is used, as there's no recent stable version available, due to lack of maintenance (last I can find is 1.1.5 from 2014, but there's scripts to build 2.0.1, for example in AUR, yet there's no proper place to get the sources for that).
# NOTE: Only double-conversion from Qt itself is used, as there's no recent stable version available, due to lack of maintenance (last I can find is 1.1.5 from 2014, but there's scripts to build 2.0.1, for example in AUR, yet there's no proper place to get the sources for that).
./configure -v -confirm-license -opensource \
./configure -confirm-license -opensource \
-prefix "/$dir_prefix" \
-prefix "/$dir_prefix" \
-libdir "/$dir_prefix/$dir_libdir" \
-libdir "/$dir_prefix/$dir_libdir" \
-headerdir "/$dir_prefix/include/$name" \
-headerdir "/$dir_prefix/$dir_includedir/$name" \
-sysconfdir "/$dir_sysconfdir/xdg" \
-sysconfdir "/$dir_prefix/$dir_sysconfdir/xdg" \
-datadir "/$dir_prefix/$dir_datadir/$name" \
-datadir "/$dir_prefix/$dir_datadir/$name" \
-bindir "/$dir_prefix/$dir_libdir/$name/bin" \
-bindir "/$dir_prefix/$dir_libdir/$name/bin" \
-archdatadir "/$dir_prefix/$dir_libdir/$name" \
-archdatadir "/$dir_prefix/$dir_libdir/$name" \
@ -52,7 +52,7 @@ make
make INSTALL_ROOT="$dir_install" install
make INSTALL_ROOT="$dir_install" install
mkdir -p "$dir_install/$dir_prefix/$dir_bindir"
mkdir -p "$dir_install/$dir_prefix/$dir_bindir"
for bin in $(find "$dir_install/$dir_prefix/$dir_libdir/$name/bin/" -type f -printf '%P '); do
find "$dir_install/$dir_prefix/$dir_libdir/$name/bin/" -type f -printf '%P\n' | while IFS= read bin; do