summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2105acdd95d51a6efd57573aaaa42d9e817be48 (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
27
28
29
30
31
# Maintainer: Yamada Hayao <shun819.mail@gmail.com>
# Contributor: YamaD <yamad.linuxer@gmail.com>

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

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

package() {
    mkdir -p "${pkgdir}"
    cp -r * "${pkgdir}"
    cd "${pkgdir}"
    mkdir -p "${pkgdir}/usr/share/icons"
    ${_gitname}/install.sh -a -d "${pkgdir}/usr/share/icons"
    rm -rf "${pkgdir}/${_gitname}"
}