summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e10b13c6ee8e98f213a7fe27fc26fe17cdddd23 (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
25
26
# Maintainer: Nico <d3sox at protonmail dot com>
pkgname=whitesur-icon-theme-git
_gitname=WhiteSur-icon-theme
pkgver=r213.393902e
pkgrel=2
pkgdesc="MacOS Big Sur style icon theme for linux desktops"
arch=('any')
makedepends=('git' 'gtk-update-icon-cache')
optdepends=('whitesur-gtk-theme-git: Recommended GTK theme' 'whitesur-kde-theme-git: Recommended KDE theme' 'whitesur-cursor-theme-git: Recommended cursor theme')
license=('GPL3')
provides=('whitesur-icon-theme')
url="https://github.com/vinceliuice/${_gitname}"
source=("git+${url}.git")
sha256sums=('SKIP')
options=('!strip')

pkgver() {
  cd "${srcdir}/${_gitname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${srcdir}/${_gitname}"
  install -dm755 "${pkgdir}/usr/share/icons"
  ./install.sh -d "${pkgdir}/usr/share/icons"
}