# Maintainer: Yiannis A Ginis _gitname=United-GNOME _pkgnames=('United-Antergos-Compact' 'United-Antergos' 'United-Arch-Compact' 'United-Arch' 'United-Manjaro-Compact' 'United-Manjaro' ) _pkgver=2.2 _myrevision=13 pkgname=gtk-theme-united-archers-git pkgver=v2.2.r13.geb55c4c pkgrel=1 pkgdesc='GTK2/3 + GNOME Shell theme based on a Ubuntu 18.04 design concept.' arch=('any') url="https://github.com/godlyranchdressing/${_gitname}" license=('GPL3') provides=("${_gitname}=${pkgver}") depends=('git' 'gtk3>=3.20' 'gnome-themes-standard' 'gdk-pixbuf2' 'gtk-engines' 'gtk-engine-murrine') optdepends=('gnome-shell>=3.22: The GNOME Shell' 'gnome-tweak-tool: A graphical tool to tweak gnome settings') source=("${_pkgnames[0]}.tar.gz::${url}/blob/master/${_pkgnames[0]}.tar.gz?raw=true" "${_pkgnames[1]}.tar.gz::${url}/blob/master/${_pkgnames[1]}.tar.gz?raw=true" "${_pkgnames[2]}.tar.gz::${url}/blob/master/${_pkgnames[2]}.tar.gz?raw=true" "${_pkgnames[3]}.tar.gz::${url}/blob/master/${_pkgnames[3]}.tar.gz?raw=true" "${_pkgnames[4]}.tar.gz::${url}/blob/master/${_pkgnames[4]}.tar.gz?raw=true" "${_pkgnames[5]}.tar.gz::${url}/blob/master/${_pkgnames[5]}.tar.gz?raw=true" ) sha256sums=('d30719f5f67886309c8caa50de12da51dbcfe9cc12d93f589f254a4ba46fd612' '83ee4d6854ba82c3f44a15c0370616785d9447738763db755d26a33000dcaf7d' '7966ed595d2580d6624b2c15affe94f48263412addf1ba1781b712762c079252' '0b0e15b6f3fc45ad56ba84fcfd644404ee4866719de524ab964ca93deaf95695' 'fc2abac37bb9a87ffc6f73f92a7f832878a00d0347829fb5afb1f64871c2b57d' 'f8f8b71fac8b6dfeacfd236e629089322e2e8c7e6b52b0971e29796ee16171dc') pkgver() { echo -n "v${_pkgver}.r${_myrevision}.g"; git ls-remote -q -h "${url}" master | cut -c1-7 } prepare() { download_sources check_source_integrity extract_sources } package() { cd "${srcdir}" find */ -type f -exec install -Dm644 '{}' "${pkgdir}/usr/share/themes/{}" \; find ${pkgdir}/usr/ -type f -exec chmod 644 {} \; find ${pkgdir}/usr/ -type d -exec chmod 755 {} \; }