summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDiab Neiroukh2020-04-08 20:37:48 +0100
committerDiab Neiroukh2020-04-08 20:37:48 +0100
commite02311af0b6308703b6571fbc04cf1a98c9d1623 (patch)
tree0dac25ede1be3116297fcae175d0161b9cc8b8f8 /PKGBUILD
parentde928e52e7b4f647d894631746a67fb472b7d123 (diff)
downloadaur-e02311af0b6308703b6571fbc04cf1a98c9d1623.tar.gz
👌 IMPROVE: Optionally install into cleaner folders
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 44eafad1d9f..1791a7fb6f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,16 @@ package() {
dst="${pkgdir}/usr/share/icons"
mkdir -p "${dst}"
cd "${srcdir}/${_reponame}"
- cp -r dist/ "${dst}/Layan-cursors"
- cp -r dist-border/ "${dst}/Layan-border-cursors"
- cp -r dist-white/ "${dst}/Layan-white-cursors"
+ if [ -z ${_cleancursordirname+x} ]; then
+ _cleancursordirname=false
+ fi
+ if [ "$_cleancursordirname" = "true" ]; then
+ cp -r dist/ "${dst}/Layan Unraveled"
+ cp -r dist-border/ "${dst}/Layan"
+ cp -r dist-white/ "${dst}/Layan Reborn"
+ else
+ cp -r dist/ "${dst}/Layan-cursors"
+ cp -r dist-border/ "${dst}/Layan-border-cursors"
+ cp -r dist-white/ "${dst}/Layan-white-cursors"
+ fi
}