#! /usr/bin/env nix-shell #! nix-shell -i bash -p coreutils findutils gnused nix wget set -x # The trailing slash at the end is necessary! RELEASE_URL="http://download.kde.org/stable/applications/15.08.1/" EXTRA_WGET_ARGS='-A *.tar.xz' mkdir tmp; cd tmp wget -nH -r -c --no-parent $RELEASE_URL $EXTRA_WGET_ARGS cat >../srcs.nix <>../srcs.nix <>../srcs.nix cd ..