dh_builddeb

This commit is contained in:
Alex Janka 2024-05-19 14:28:46 +10:00
parent 4c3804db8a
commit 7f8c1f9dd0

View file

@ -137,12 +137,9 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
mkdir -p $deb_pkg_dir mkdir -p $deb_pkg_dir
echo $package_control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" > $deb_pkg_dir/control echo $package_control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" > $deb_pkg_dir/control
cd $dir
dpkg-deb --build $target
mkdir -p $SCRIPT_PATH/debs mkdir -p $SCRIPT_PATH/debs
deb_file=$SCRIPT_PATH/debs/$target-$VERSION-$arch.deb cd $dir
rm -f $deb_file dh_builddeb --destdir $SCRIPT_PATH/debs
cp $target.deb $deb_file
rm -rf $dir rm -rf $dir
else else
echo "Skipping arch $arch" echo "Skipping arch $arch"