Codebase list rust-libslirp / 20dc0e0 repackage.sh
20dc0e0

Tree @20dc0e0 (Download .tar.gz)

repackage.sh @20dc0e0raw · history · blame

#!/bin/sh

. ./vars.sh.frag

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

REALVER="$(sed -nre "s/.*Package .* (.*) from crates.io.*/\1/gp" "$PKGDIR/debian/changelog" | head -n1)"
run_debcargo --no-overlay-write-back --changelog-ready