summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoel2019-07-04 22:37:23 -0700
committerJoel2019-07-04 22:37:23 -0700
commit916259fdd389b8088faf90b8450cd89edf837ab3 (patch)
tree5fd3059ccbe352fdc89e33a486414fe0c82dd441 /PKGBUILD
parenta176abd810cefb61cff1817b5731bc7de96efca2 (diff)
downloadaur-osx-el-capitan-theme-git.tar.gz
updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 427e38107ad..c9e5bd57a75 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _gitname=macOS-Sierra
pkgname=osx-el-capitan-theme-git
pkgdesc="Theme mimics OS X 10.12 macOS Sierra, formaly osx-el-capitan-theme, for GTK3 and some DEs (GNOME Shell, Xfce, Cinnamon)"
-pkgver=v0.9.r144.g6966a3a
+pkgver=4.1.r2.gb245f91
pkgrel=1
arch=('any')
url="https://github.com/Elbullazul/${_gitname}"
@@ -23,9 +23,12 @@ pkgver() {
}
package() {
- mkdir -p "$pkgdir/usr/share/backgrounds"
cd "$srcdir/$_gitname"
- mv 'Wallpaper.jpg' "$pkgdir/usr/share/backgrounds"
+ if test -d "$srcdir/$_gitname/Wallpaper.jpg"
+ then
+ mkdir -p "$pkgdir/usr/share/backgrounds"
+ mv 'Wallpaper.jpg' "$pkgdir/usr/share/backgrounds"
+ fi
# Keep compatibility with old name
find . -type f -not -path './.git/*' -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/OS-X-El-Capitan/{}" \;
}