pkgname=osx-arc-white pkgver=1.4.7 pkgrel=2 pkgdesc="OSX-Arc-White Theme for GTK 3.x" arch=(any) url=https://www.gnome-look.org/p/1167049/ depends=('gtk3') makedepends=('unzip') md5sums=('e8f9ba6e66c798d21511e509bc3ef9c5') # Hash and Timestamp (taken from macos-icon-theme pkgbuild) _p="var \(hash = '\(.*\)\|timetamp = '\(.*\)\)';" read _s _t <<< $(echo -n $(curl -s $url | sed -n "s/$_p/\2\3/p")) source=("https://dl.opendesktop.org/api/files/downloadfile/id/1514574547/s/$_s/t/$_t/u//OSX-Arc-White-v1.4.7.zip") package(){ cd "$srcdir" find */ -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \; }