Package list rust-libslirp / 5961e7bb-f0f3-4873-a589-fd3ead16d276/main repackage.sh
5961e7bb-f0f3-4873-a589-fd3ead16d276/main

Tree @5961e7bb-f0f3-4873-a589-fd3ead16d276/main (Download .tar.gz)

repackage.sh @5961e7bb-f0f3-4873-a589-fd3ead16d276/mainraw · history · blame

#!/bin/sh
# Repackage a crate at the exact version that it was packaged at.
#
# Usage: ./repackage.sh <CRATE> [<SEMVER>]

. ./vars.sh.frag

if ! shouldbuild "$BUILDDIR/debian/changelog" "$PKGDIR/debian/changelog" && \
   ! shouldbuild "$BUILDDIR/debian/changelog" "$DEBCARGO"; then
	exit 0
fi

REALVER="$(get_existing_version "$PKGDIR")"
run_debcargo --no-overlay-write-back --changelog-ready