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
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
deb_file=$SCRIPT_PATH/debs/$target-$VERSION-$arch.deb
rm -f $deb_file
cp $target.deb $deb_file
cd $dir
dh_builddeb --destdir $SCRIPT_PATH/debs
rm -rf $dir
else
echo "Skipping arch $arch"