From PATCH v2: There's still a file at the base of each libmakepkg directory that imports that
libmakepkg is now split up as per the format on the wiki. The only method I had to add to the layout was get_downloadclient, which I added to libmakepkg/util/url.sh. libmakepkg/util/url.sh was renamed from libmakepkg/util/source.sh. part of the library. (eg libmakepkg/source.sh imports libmakepkg/source/*.sh). Instead creating a file that imports every part of the library, I've instead put the for loop straight into makepkg.sh.in. Each libmakepkg file has it's own inclusion guard. Each libmakepkg copyright notice was deduced from the full set, dependent on what years git blame said that each line of a function had been written in. Allan McRae (2): makepkg: run locally with libtool style wrapper makepkg: add LIBRARY variable Ashley Whetter (2): Moved dependencies of download functions into a library Moved makepkg download functions into libmakepkg scripts/.gitignore | 12 + scripts/Makefile.am | 83 +++++++ scripts/libmakepkg/source.sh.in | 71 ++++++ scripts/libmakepkg/source/bzr.sh.in | 77 ++++++ scripts/libmakepkg/source/file.sh.in | 89 +++++++ scripts/libmakepkg/source/git.sh.in | 65 +++++ scripts/libmakepkg/source/hg.sh.in | 59 +++++ scripts/libmakepkg/source/local.sh.in | 44 ++++ scripts/libmakepkg/source/svn.sh.in | 67 +++++ scripts/libmakepkg/util.sh.in | 30 +++ scripts/libmakepkg/util/message.sh | 55 +++++ scripts/libmakepkg/util/url.sh.in | 145 +++++++++++ scripts/libmakepkg/util/util.sh.in | 58 +++++ scripts/makepkg-wrapper.sh.in | 23 ++ scripts/makepkg.sh.in | 443 +--------------------------------- 15 files changed, 885 insertions(+), 436 deletions(-) create mode 100644 scripts/libmakepkg/source.sh.in create mode 100644 scripts/libmakepkg/source/bzr.sh.in create mode 100644 scripts/libmakepkg/source/file.sh.in create mode 100644 scripts/libmakepkg/source/git.sh.in create mode 100644 scripts/libmakepkg/source/hg.sh.in create mode 100644 scripts/libmakepkg/source/local.sh.in create mode 100644 scripts/libmakepkg/source/svn.sh.in create mode 100644 scripts/libmakepkg/util.sh.in create mode 100644 scripts/libmakepkg/util/message.sh create mode 100644 scripts/libmakepkg/util/url.sh.in create mode 100644 scripts/libmakepkg/util/util.sh.in create mode 100644 scripts/makepkg-wrapper.sh.in -- 1.8.4