#!/usr/bin/env bash # NOTE: This script is just used to update the package. If you're just # installing this package you can ignore this file. set -e MAKEDEB_DISTRO_CODENAME='{}' source PKGBUILD for distro in focal jammy bullseye; do wget -O "${distro}.deb" "$(echo "${_source_uri}" | sed "s|{}|${distro}|g")" sha512sum="$(sha512sum "${distro}.deb" | awk '{print $1}')" sed -i "s|^${distro}_sha512sums=.*|${distro}_sha512sums=('${sha512sum}')|" PKGBUILD rm "${distro}.deb" done # vim: set sw=4 expandtab: