summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8cb5d3476a4fcc5c779da9efb6c4ffbe408b4c11 (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
# Maintainer: Nico <d3sox at protonmail dot com>
pkgname=whitesur-icon-theme-git
_gitname=WhiteSur-icon-theme
pkgver=r14.d14f5b8
pkgrel=1
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')
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"
}