# 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=4 pkgname=gtk-theme-united-archers-git pkgver=v2.2.r4.gca00a01 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=('25199351aed816a4ceb613e19b31c3ee29ddf4311d5b606e3563950d187ebbe1' 'ad56ec81d2674e12ffce5c515052796bbe14d1392f0bf3c7454e238fe9a024ba' '7978311f055429f170b451f72f8d86fdac4b686aa79d8c058e014611d705f1d7' 'e65e65fd9c9bdadc5566354d8c979fb0aa290bd1212ad07d0795b105b027f216' '6b73fb4dd101f19377ddc989aa7634c8c4764d974ac4cbd1b4f62418cf87a50d' '33754d5e772f34d8a0ee55f76def895495551077da1672f227cc4c81e3822a2b') 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 {} \; }