summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e3211a65e4094ad6b153eb99c1048b60a62cf83 (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
35
36
# Maintainer: FadeMind <fademind@gmail.com>
# Contributor: Stefano Capitani <stefano@manjaro.org>

pkgname=papirus-maia-icon-theme-git
pkgver=20180417.6d88bb2
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')
makedepends=('cmake' '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'
}

build() {
    mkdir -p ${srcdir}/build
    cd ${srcdir}/build
    cmake ../${pkgname/-git/}
    make
}

package() {
    make -C build DESTDIR="${pkgdir}" install
}