summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 80fc15c67e17e3de10bedf06f5b0c67739e2f407 (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
# Maintainer: Philip Goto
pkgname=mato-icons-git
pkgver=latest
pkgrel=1
pkgdesc="Mato is a Material Design inspired icon theme for Linux. It features simple and modern icons based on the official icons."
arch=('any')
url="https://github.com/flipflop97/Mato"
license=('Creative Commons Attribution-ShareAlike 4.0 International Public License')
makedepends=('git')
provides=('mato-icons-git')
options=(!strip !emptydirs)
install='mato-icons-git.install'
source=("${pkgname}::git+https://github.com/flipflop97/Mato.git")
sha256sums=('SKIP')

pkgver() {
    cd "${pkgname}"
    git rev-parse --short HEAD
}

package() {
    cd "${pkgname}"
    install -dm 755 "${pkgdir}"/usr/share/icons
    mkdir "${pkgdir}"/usr/share/icons/Mato
    cp -dr --no-preserve='ownership' * "${pkgdir}"/usr/share/icons/Mato
}