# The upstream tarball is used as-is (no repack): the vendored crates live in
# debian/rust-vendor/ and the translations come from the l10n component tarball
# below, which uscan unpacks into l10n/.
#
# Note: this is deliberately written in the version=4 syntax rather than the
# newer "Version: 5 / Template: GitHub" one, because the devscripts in Debian
# does not support version 5 yet.
version=4

opts="filenamemangle=s%(?:.*?)?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
  https://github.com/uutils/coreutils/tags (?:.*?/)?(\d[\d.]*)\.tar\.gz

opts="component=l10n,filenamemangle=s%(?:.*?)?(\d[\d.]*)\.tar\.gz%@PACKAGE@-l10n-$1.tar.gz%" \
  https://github.com/uutils/coreutils-l10n/tags (?:.*?/)?(\d[\d.]*)\.tar\.gz
