Zrythm installer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
464 B

#!@BASH@
out_pkg="$1"
deb_changelog=$2
deb_rules=$3
deb_compat=$4
deb_control=$5
deb_copyright=$6
tempdir=`mktemp -d`
deb_dir="$tempdir/debian"
deb_src_dir="$deb_dir/source"
mkdir -p $deb_src_dir
# prepare
cp $deb_changelog $deb_dir/changelog
cp $deb_compat $deb_dir/compat
cp $deb_control $deb_dir/control
cp $deb_copyright $deb_dir/copyright
cp $deb_rules $deb_dir/rules
echo "3.0 (quilt)" > $deb_src_dir/format
cd $tempdir
debuild -us -uc
rm -rf $tempdir