summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 374006ecccc3f69dba831ccfb60d760eb4cef25a (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: Yamada Hayao <hayao@fascode.net>

pkgname=win11-icon-theme-git
_pkgname=win11-icon-theme
_gitname=win11-icon-theme
pkgver=r88.2293237
pkgrel=1
pkgdesc="A colorful Design icon theme for linux desktops"
arch=('any')
url='https://github.com/yeyushengfan258/win11-icon-theme'
license=('GPL')
depends=('gtk-update-icon-cache')
optdepends=()
source=("git+${url}.git")
md5sums=('SKIP')
conflicts=('win11-icon-theme')

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

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