summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa66764dde1f8264663f59649c42807ec85d37c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
_pkgbase='suru-icon-theme'
_git='snwh'
pkgname="$_pkgbase-git"
arch=('any')
pkgver=r41.2290959
pkgrel=1
pkgdesc='Suru is a icon theme by Sam Hewitt, whose design is based upon and around
the original Suru icon guidelines for Ubuntu mobile applications, continued by a third party'
source=("git+https://github.com/$_git/$_pkgbase.git")
md5sums=('SKIP')

pkgver() {
  cd "$_pkgbase"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
  cd $_pkgbase
  find Suru/[1-9]* Suru/scalable Suru/index.theme -exec \
  install -D -m 644 '{}' "$pkgdir"/usr/share/icons/'{}' \;
}

post-install() {
  gtk-update-icon-cache /usr/share/icons/Suru
}