summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 902b647285201b4c10eaaae185d96b2dbe4c4c9a (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
# Maintainer: Martin Wimpress <code@flexion.org>

pkgname=faba-mono-icons-git
_pkgname=${pkgname%-git}
pkgver=r106.2006c52
pkgrel=1
pkgdesc="Supplementary theme to Faba Icon Theme - consists only of monochrome panel icons"
arch=('any')
url="https://snwh.org/moka"
license=('GPL3')
depends=('faba-icon-theme' 'gtk-update-icon-cache')
makedepends=('git')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
options=(!strip)
source=("git+https://github.com/snwh/${_pkgname}.git")
sha256sums=('SKIP')
install=${_pkgname}.install

pkgver() {
    cd "${srcdir}/${_pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "${srcdir}/${_pkgname}"
    ./autogen.sh
}

package() {
    cd "${srcdir}/${_pkgname}"
    DESTDIR="${pkgdir}" make install
}