summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f8995fb55beaae98e4634959b00e9561589d82f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname=ant-nebula-gtk-theme
pkgver=1.0.3
pkgrel=7
pkgdesc="Ant Nebula Theme for GTK 3.x"
arch=(any)
url=https://www.gnome-look.org/p/1099856/
depends=('gtk3')
md5sums=('2e4e28be233ff6e0ca35089ae9aff846')

# 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/1516251197/s/$_s/t/$_t/u//Ant-Nebula.tar")

package(){
	cd "$srcdir"
	find */ -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \;
}