summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d16dcb1e60bf45229aa5f8f3d66c1290e2990647 (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: Philippe Loctaux <phil@philippeloctaux.com>

pkgname=materialos-icon-theme-git
pkgver=0.r206.ad6d2ff
pkgrel=1
pkgdesc='A community driven material design icon pack'
arch=('any')
url='https://github.com/materialos/Linux-Icon-Pack'
license=('CCPL:by-sa')
makedepends=('git')
provides=('materialos-icon-theme')
conflicts=('materialos-icon-theme')
source=('git+https://github.com/materialos/Linux-Icon-Pack.git')
sha256sums=('SKIP')

pkgver() {
	cd Linux-Icon-Pack/

	printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd Linux-Icon-Pack/

	install -dm 755 "$pkgdir"/usr/share/icons
	cp -dr --no-preserve='ownership' Icons/* "$pkgdir"/usr/share/icons/
}