Package list rust-stfu8 / 931eabc

Tree @931eabc (Download .tar.gz) @931eabcraw · history · blame


. ./

if [ ! -d "$PKGDIR/debian" ]; then
	mkdir -p "$PKGDIR/debian"
	sed -e 's/^#overlay =/overlay =/' -e '/^#/d' "$DEBCARGO_GIT/debcargo.toml.example" > "$PKGCFG"
	touch "$PKGDIR/debian/copyright"
	git add "$PKGDIR"

rm -rf "$BUILDDIR" && mkdir -p "$(dirname $BUILDDIR)"
$DEBCARGO package --config "$PKGCFG" --directory "$BUILDDIR" "$PKG"

if ! git diff -q -- "$PKGDIR_REL"; then
	read -p "Update wrote some changes to $PKGDIR_REL, press enter to git diff..." x
	git diff -- "$PKGDIR_REL"

cat >&2 <<eof
Automatic update of $PKG finished; now it's your turn to manually review it.

Deal with any FIXMEs mentioned above, by editing the corresponding source files
in $PKGDIR_REL (and NOT the build directory as mentioned). When done, git-add
your changes and re-run this command (\`./ $*\`).

Check that your fixes actually get rid of the FIXMEs. Of course, you may ignore
FIXMEs listed in hint files, indicated by (.), assuming you actually fixed the
issues in the corresponding non-hint files. (We have no way to auto-detect this
so you have to be honest!)

If satisfied with the output, run \`./ $*\` to finalise your changes
in the changelog and build a release-ready .dsc in build/. Assuming it runs
successfully, you may \`dput\` the results afterwards.