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

_pkgname=faba-icon-theme
pkgname=${_pkgname}-git
pkgver=303.6f1cea3
pkgrel=1
pkgdesc="This is the base icon set for Faba. It is designed with simplicity and compliance to standards in mind."
arch=('any')
url="http://snwh.org/moka/"
license=('GPL3')
depends=('gtk-update-icon-cache')
makedepends=('git')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
replaces=("${_pkgname}")
options=(!strip)
source=(${_pkgname}::"git+https://github.com/moka-project/${_pkgname}.git")
sha256sums=('SKIP')
install=${_pkgname}.install

pkgver() {
    cd ${srcdir}/${_pkgname}
    echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
    install -d -m 755 "${pkgdir}"/usr/share/icons/Faba
    cp -dr --no-preserve=ownership "${_pkgname}"/Faba "${pkgdir}"/usr/share/icons/
    find "${pkgdir}"/usr/share/icons/ -type d -exec chmod 755 {} \;
    find "${pkgdir}"/usr/share/icons/ -type f -exec chmod 644 {} \;
}