summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Coté2020-12-30 00:02:03 -0600
committerAlex Coté2020-12-30 00:02:03 -0600
commitae0f1af012a32522d3df113704b55c3f2815661c (patch)
tree4d81d212efbae52421c5735a6dfe566274bee0a8
parent5f0dd470f1fe6841d3de7d35e7291b359a8649ad (diff)
downloadaur-ae0f1af012a32522d3df113704b55c3f2815661c.tar.gz
Fixed build skipping last directory
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1d55edb6e860..63d3917e6ff0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = desert-theme-git
pkgdesc = GTK3 theme made by Paulxfce. "Designed to be light, crisp, and simple, this theme is thoroughly built and tested to provide a nice desktop environment."
pkgver = r7.d07c904
- pkgrel = 1
+ pkgrel = 2
url = https://www.gnome-look.org/p/1449286/
arch = any
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 8a4347131b36..7092b5fffc93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=desert-theme-git
_gitname=Desert
pkgver=r7.d07c904
-pkgrel=1
+pkgrel=2
pkgdesc="GTK3 theme made by Paulxfce. \"Designed to be light, crisp, and simple, this theme is thoroughly built and tested to provide a nice desktop environment.\""
arch=("any")
url="https://www.gnome-look.org/p/1449286/"
@@ -40,7 +40,7 @@ build() {
"Desert-Purple" "Desert-Purple-Solid"
"Desert-Purple-Dark" "Desert-Purple-Dark-Solid")
- for (( i=0; i<${#directory_list[@]}; i++ ))
+ for (( i=1; i<=${#directory_list[@]}; i++ ))
do
find "$PWD" -maxdepth 1 -type d -name "${directory_list[$i]}" | sort -V | tail -1 | xargs -I '{}' mv -f {} ./latest/"${theme_names[$i]}"
done