Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Conflicts:
src/treepkg
|
|
Conflicts:
mips64el/mipsrelease
treepkg
|
|
find * -type f -not -name '*.patch' -exec sed -i -r 's/\s+$//' {} +
|
|
|
|
chroot-tools
|
|
|
|
There are a bunch of caveats to loading a PKGBUILD file. This way it is
all done correctly in one place.
unset_PKGBUILD unsets any functions and variables that are normally set in
a PKGBUILD. The list is far more complete than any existing
implementation.
load_PKGBUILD loads the file given, or "./PKGBUILD" if none is given. But
first it calls unset_PKGBUILD and then sets CARCH.
|
|
|
|
HOOKLOCALRELEASE:
- set to librestage by default, because the mips value is mipsrelease,
which calls librestage
- document what arguments it is given.
fullpkg-build:
- Run HOOKLOCALRELEASE in a way that is consistent with treepkg does and
what mipsrelease takes. Note that what fullpkg-build did is what
mipsrelease documentation said, but not what it actually did.
- Don't run librestage; if we want it to run, run it with HOOKLOCALRELEASE
mipsrelease: Telling diff to ignore whitespace helps with this one.
- use get_full_version from common.sh/libremessages
- give a code path to display usage()
- correct usage()
- fix a little quoting
- make sure makepkg.conf variables are set
|
|
|
|
|
|
|
|
|
|
I did this by making the assumption that the files in a directory are
dividable into 2 groups: those that are executable, and those that aren't, and
that all of the files in each group all go in the same folder when
installed.
These install directories are configurable per source directory with
$(libre_execdir) and $(libre_datadir)
|
|
|
|
|