/usr/share/pk4/hooks-available/unpack/gbp is in git-buildpackage 0.9.8.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
set -e
gbp import-dsc --debian-branch=pk4 --upstream-branch=upstream "$1" "$2"
# Add local gbp.conf to override any branch settings in 'debian/gbp.conf'
# (since this checkout wasn't created by "gbp clone"). We want to be sure the
# branches exist so we can build the package right away.
cat <<EOF > "$2"/.git/gbp.conf
[DEFAULT]
upstream-branch = upstream
debian-branch = pk4
EOF
|