How to install a package from a custom debian repository?

I got it eventually

#!/bin/human/brain
# Guide intended for arch-based linux. Can be followed on non-arch systems, but you need to manually unpack and install debs. Dependancy names may differ on non-arch systems.
# On fedora, `alien` may be useable instead of debtap (untested)
# For ubuntu, mint, other debian-based systems, follow standard guide: https://ict.mygymer.ch/byod/linux/drucker/#druckerpaket-fur-schule-installieren
 
cd /tmp
mkdir kinet-install
cd kinet-install

# on arch linux, install debtap from AUR and run
# sudo debtap --update
# on non-arch systems, unpack the deb manually and install the files to the directories

# Install dependency 1: cque
# Note: canon-cque from AUR does NOT work 
wget https://deb.gymkirchenfeld.ch/pool/main/c/cque-en/cque-en_4.0-5_amd64.deb
debtap cque-en_4.0-5_amd64.deb
sudo pacman -U cque-en-4.0-1-x86_64.pkg.tar.zst

# Install dependancy 2: kinet-misc
wget https://deb.gymkirchenfeld.ch/pool/main/k/kinet-linux-tools/kinet-misc_3.0-0kinet1_all.deb
debtap kinet-misc_3.0-0kinet1_all.deb # edit & change policykit-1 to polkit
sudo pacman -U kinet-misc-3.0-1-any.pkg.tar.zst

# Installing dependancy 3: kinet keyring 
wget https://deb.gymkirchenfeld.ch/pool/main/k/kinet-linux-tools/gnome-keyring-kinet_3.0-0kinet1_all.deb
sudo pacman -S gnome-keyring # Can be used on kde systems
debtap gnome-keyring-kinet_3.0-0kinet1_all.deb # Ignore dependency warnings
sudo pacman -U gnome-keyring-kinet-3.0-1-any.pkg.tar.zst

# Installing kinet cups
wget https://deb.gymkirchenfeld.ch/pool/main/k/kinet-linux-tools/cups-kinet_3.0-0kinet1_all.deb
sudo pacman -S cups yad cups-filters samba # make sure these are installed
debtap cups-kinet_3.0-0kinet1_all.deb # edit & remove cque-de, change policykit-1 to polkit 
sudo pacman -U cups-kinet-3.0-1-any.pkg.tar.zst

# Non-debian fix..
sudo vim /usr/share/kinet/kinet-canon.sh # change `LANG=$(dpkg...` on line 40 to LANG=en

# All done! Continue instructions from https://ict.mygymer.ch/byod/linux/drucker/#drucker-einrichten
# Run `kinet-add-printer DruckerAllgemein` in terminal for debugging errors