summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cf390cce3d5f9a1426f0f98d72842d7db79a20c3 (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
# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor:

pkgname=delft-icon-theme-git
pkgver=1.2.r0.gceaddae9
pkgrel=1
pkgdesc="Continuation of Faenza icon theme with up to date app icons"
url="https://github.com/madmaxms/iconpack-delft"
arch=('any')
license=('GPL3')
depends=('gtk-update-icon-cache' 'librsvg')
makedepends=('git')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
options=('!strip')
source=("${pkgname%-*}::git+${url}.git")
md5sums=("SKIP")

pkgver() {
  cd "${pkgname%-*}"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "${pkgname%-*}"
  install -d "$pkgdir/usr/share/icons"
  cp -a Delf* "$pkgdir/usr/share/icons/"
}