summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cb03c0b082f763caf64c67425461932142a6eeb3 (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
32
33
34
# Maintainer: FadeMind <fademind@gmail.com>
# Contributor: Stefano Capitani <stefano@manjaro.org>

pkgname=papirus-maia-icon-theme-git
pkgver=20180416.cad7b4e
pkgrel=1
pkgdesc="Manjaro variation of Papirus icon theme (git version)"
arch=('any')
url="https://github.com/Ste74/papirus-maia-icon-theme"
license=("LGPL3")
depends=('gtk-update-icon-cache' 'papirus-icon-theme-git')
conflicts=("${pkgname/-git/}")
options=('!strip')
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
    cd ${pkgname/-git/}
    (
    git show --format='%cI' -q master | sed 's/T.*//g;s/-//g'
    echo .
    git rev-parse --short master
    ) | tr -d '\n'
}
prepare() {
	cd ${pkgname/-git/}
	rm LICENSE README.md recolor.sh
}

package() {
	cd ${pkgname/-git/}
	mkdir -p ${pkgdir}/usr/share/icons
	cp -R * ${pkgdir}/usr/share/icons/
}