diff options
author | root | 2022-01-05 16:23:28 +0100 |
---|---|---|
committer | root | 2022-01-05 16:23:28 +0100 |
commit | 8dc87719c26a5090b7d5bb1cc42074642493443c (patch) | |
tree | 6a0a5fba4d1efdb3f9f78da61fd30768da12ea45 | |
parent | 2ff227bb638b8b287ceb56d4387adc761d7efa48 (diff) | |
download | aur-8dc87719c26a5090b7d5bb1cc42074642493443c.tar.gz |
Added a comment explaining the use case for conditional copying of PNG files to `patched/` directory.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = universalpaperclips pkgdesc = Clicker game where you control an AI whose aim is to create as many paperclips as possible. Patched version which loads a colour highlight UI mod if that is installed, and which does not load content from google and with removed external links. pkgver = 3 - pkgrel = 14 + pkgrel = 15 url = https://decisionproblem.com/paperclips/ arch = any license = custom:unknown @@ -5,7 +5,7 @@ pkgname="${_pkgname}" pkgver=3 _cssver=2 #_cssver="${pkgver}" -pkgrel=14 +pkgrel=15 pkgdesc='Clicker game where you control an AI whose aim is to create as many paperclips as possible. Patched version which loads a colour highlight UI mod if that is installed, and which does not load content from google and with removed external links.' arch=('any') url='https://decisionproblem.com/paperclips/' @@ -81,10 +81,10 @@ prepare() { mkdir -p "${srcdir}/patched" cp "${srcdir}/index.html" "${srcdir}/patched/index.html" cp "${srcdir}/index2.html" "${srcdir}/patched/index2.html" - if [ ! -e "${srcdir}/patched/mobile-title.png" ]; then # Copy only if it not already exists, in order to not overwrite already-optimised files from a previous build(). + if [ ! -e "${srcdir}/patched/mobile-title.png" ]; then # Copy only if it not already exists, in order to not overwrite already-optimised files from a previous build() (useful for subsequent repackaging with `-R` option to skip time consuming PNG optimisation but still use the already optimised files). cp "${srcdir}/mobile-title.png" "${srcdir}/patched/mobile-title.png" fi - if [ ! -e "${srcdir}/patched/title.png" ]; then # Copy only if it not already exists, in order to not overwrite already-optimised files from a previous build(). + if [ ! -e "${srcdir}/patched/title.png" ]; then # Copy only if it not already exists, in order to not overwrite already-optimised files from a previous build() (useful for subsequent repackaging with `-R` option to skip time consuming PNG optimisation but still use the already optimised files). cp "${srcdir}/title.png" "${srcdir}/patched/title.png" fi |