summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 41d2984d3641e91acd80fed9bfc09cc8c9e38302 (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
# Maintainer: Yamada Hayao <hayao@fascode.net>

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

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 -blue -d "${pkgdir}/usr/share/icons"
    rm -rf "${pkgdir}/${_gitname}"
}