Inside the package functions of the PKGBUILDs, the program should cd inside the directory with repo name.
All the packages need to cd into the git cloned repo in order to install. Right now, the values for the directories to cd to are hardcoded, and even wrong in the case of mut-ex-wallpapers.
To never try to cd inside a repository that does not exist, and as $repo is defined and does always exist as it is the name of the repo being git cloned, it is safe to cd into $repo.
IMPLEMENTATION:
simply apply the following diff to all the PKGBUILDs, with possibly slight modifications of course depending on the exact file.
@@ -35,3 +35,3 @@ pkgver() {
package() {
- cd "${pkgname}"
+ cd "$repo"
Inside the
package
functions of thePKGBUILD
s, the program shouldcd
inside the directory with repo name.All the
package
s need tocd
into thegit clone
d repo in order to install. Right now, the values for the directories tocd
to are hardcoded, and even wrong in the case of mut-ex-wallpapers. To never try tocd
inside a repository that does not exist, and as$repo
is defined and does always exist as it is the name of the repo beinggit clone
d, it is safe tocd
into$repo
.IMPLEMENTATION: simply apply the following diff to all the
PKGBUILD
s, with possibly slight modifications of course depending on the exact file.