summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f8b33e1ff4ae3b02feca9db6420616ae619c582 (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
# Maintainer: Robosky <fangyuhao0612@gmail.com>

pkgname=tela-icon-theme-git
_gitname=Tela-icon-theme
pkgdesc="A flat colorful Design icon theme."
pkgver=87.2f053185
pkgrel=1
arch=('any')
url="https://github.com/vinceliuice/Tela-icon-theme"
license=('GPL3')
source=("git+https://github.com/vinceliuice/Tela-icon-theme.git")
sha256sums=('SKIP')
options=('!strip')
makedepends=('git')

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

package() {
	cd "${srcdir}/${_gitname}"
	install -dm755 "${pkgdir}/"usr/share/icons
	sed -i '/gtk-update-icon-cache/d' install.sh
	./install.sh -d "${pkgdir}"/usr/share/icons
}