diff options
author | Miklós Tóth | 2021-04-04 00:08:13 +0000 |
---|---|---|
committer | Miklós Tóth | 2021-04-04 00:08:13 +0000 |
commit | 896c456c28372f79e9a253ae634b28d635f05875 (patch) | |
tree | 3bbb66fff555567ce35befa7966df3b519afe894 | |
parent | 8e4b8d73f91c4cc7e6180a36a9a6dff7aedc6cc5 (diff) | |
download | aur-896c456c28372f79e9a253ae634b28d635f05875.tar.gz |
automatic update
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -100,8 +100,8 @@ prepare() { # hacky work around for xz not getting extracted # https://bbs.archlinux.org/viewtopic.php?id=265115 if [[ ! -f "$srcdir/patch-${pkgver}-xanmod${xanmod}" ]]; then - unlink "$srcdir/patch-${pkgver}-xanmod${xanmod}.xz" - xz -dc "$startdir/patch-${pkgver}-xanmod${xanmod}.xz" > "$srcdir/patch-${pkgver}-xanmod${xanmod}" + #unlink "$srcdir/patch-${pkgver}-xanmod${xanmod}.xz" + xz -dc "$SRCDEST/patch-${pkgver}-xanmod${xanmod}.xz" > "$srcdir/patch-${pkgver}-xanmod${xanmod}" fi # Apply Xanmod patch @@ -156,7 +156,7 @@ prepare() { # Put the file "myconfig" at the package folder (this will take preference) or "${XDG_CONFIG_HOME}/linux-xanmod-anbox/myconfig" # If we detect partial file with scripts/config commands, we execute as a script # If not, it's a full config, will be replaced - for _myconfig in "${startdir}/myconfig" "${XDG_CONFIG_HOME}/linux-xanmod-anbox/myconfig" ; do + for _myconfig in "${SRCDEST}/myconfig" "${XDG_CONFIG_HOME}/linux-xanmod-anbox/myconfig" ; do if [ -f "${_myconfig}" ]; then if grep -q 'scripts/config' "${_myconfig}"; then # myconfig is a partial file. Executing as a script @@ -191,7 +191,7 @@ prepare() { [[ -z "$_makenconfig" ]] || make nconfig # save configuration for later reuse - cat .config > "${startdir}/config.last" + cat .config > "${SRCDEST}/config.last" } build() { |