Package list rust-libslirp / 7db2c729-b012-4ea1-9f2a-3276b19b3d73/main repackage.sh
7db2c729-b012-4ea1-9f2a-3276b19b3d73/main

Tree @7db2c729-b012-4ea1-9f2a-3276b19b3d73/main (Download .tar.gz)

repackage.sh @7db2c729-b012-4ea1-9f2a-3276b19b3d73/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