diff options
author | zerophase | 2016-01-07 12:56:14 -0600 |
---|---|---|
committer | zerophase | 2016-01-07 12:56:14 -0600 |
commit | d49660391412d2b61d5df3ac93ce0723c4c3ea7a (patch) | |
tree | 18ea3a5d075505e24bae408d9b6dfc50a0abc812 /PKGBUILD | |
parent | 9d03f45c5e1f5a3ca429f09062362477af6ff39a (diff) | |
download | aur-d49660391412d2b61d5df3ac93ce0723c4c3ea7a.tar.gz |
Update to 0.8.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 17 insertions, 9 deletions
@@ -1,7 +1,7 @@ # Maintainer: Michael Lojkovic <mikelojkovic@gmail.com> pkgname=gtk-theme-windows10-dark -pkgver=0.8.3 +pkgver=0.8.4 pkgrel=1 pkgdesc="GTK 3.x Theme made to emulate a Windows 10 environment on Linux machines." arch=('any') @@ -10,18 +10,26 @@ license=('GPL') depends=('gtk-engines' 'gtk-engine-murrine') optdepends=('gnome-themes-standard') changelog=(${pkgname}.changelog) -source=("https://github.com/Elbullazul/Windows-10/releases/download/v0.8.3/Windows.10.dark.v0.8.3.zip") -sha1sums=('e14a32bf144b58596ba94b7f407f27b434d326f3') +source=("https://github.com/Elbullazul/Windows-10/releases/download/v0.8.4/Windows.10.dark.v0.8.4.zip" + "https://github.com/Elbullazul/Windows-10/releases/download/v0.8.4/tint2rc") +sha1sums=('e14a32bf144b58596ba94b7f407f27b434d326f3' + '039e19b79d169cee6617936879b8ee638b8bebf7') package() { - cd Windows\ 10\ Dark + cd Windows\ 10\ Dark - # create theme dir - install -d -m 755 "$pkgdir/usr/share/themes/Windows10Dark" + # create theme dir + install -d -m 755 "$pkgdir/usr/share/themes/Windows10Dark" - # install theme - find . -type f -exec \ - install -D -m 644 '{}' "$pkgdir/usr/share/themes/Windows10Dark/{}" \; + # install theme + find . -type f -exec \ + install -D -m 644 '{}' "$pkgdir/usr/share/themes/Windows10Dark/{}" \; + if [ $(pacman -Q openbox | sed 's/ .*//') == "openbox" ]; then + cd .. + install -d -m 700 "$pkgdir/$HOME" + install -d -m 744 "$pkgdir/$HOME/.config/tint2" + install -D -m 744 'tint2rc' "$HOME/.config/tint2/tint2rc"; + fi } |