Is there a way to have only a debian folder and build the package (downloading and unpacking the sources) automatic? I've seen uscan but it scans for new packages, it doesn't allow to have a fixed download URL string.Edit:I want to have a folder for every package and inside only the debian folder and I don't know how to do for automatic download the sources and package it. Fedora has spectools, Arch downloads the tarball specified on PKGBUILD, so I want the same on Debian
How can I made a Debian ports like repo?
debian;apt;dpkg
The question, if I understand it correctly, is:Given just a debian/ directory, i.e. a directory containing just the Debian packaging files for a software package, is there a way to use those packaging files to download and unpack the sources for that software package?The target get-orig-source in debian/rules can be defined, as described inDebian Policy Manual Chapter 4 - Source packages (section 4.9). If this target is defined, then the source can be downloaded by running the following command from inside the debian/ directory../rules get-orig-source