summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e63915282f9a2ab582e8783706496d3bc9c6d96 (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: steelstrings <steelstrings.of.a{at}gmail{dot}com>
# based on captiva-icons-git and adwaita-icon-theme-git and antu-icon-theme-git

pkgname=antu-classic-icon-theme-git
_pkgname=Antu-classic
pkgver=1.0.8.g90645fd
pkgrel=1
pkgdesc="Antü Classic Icon Theme by Fabián Alexis"
arch=('any')
url="https://gitlab.com/froodo_alexis/Antu-classic/"
license=('LGPL2.1')
depends=('gtk-update-icon-cache')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://gitlab.com/froodo_alexis/Antu-classic.git')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir"/"$_pkgname"
  git describe --long --tags| sed 's|-|.|g'
}

prepare() {
  cd "$srcdir"/"$_pkgname" && rm {LICENSE.md,README.md}
}

package() {

  # create theme dirs
  install -d -m 755 "$pkgdir"/usr/share/icons

  # install theme
  cd "$srcdir"/"$_pkgname"/
  cp -r . "$pkgdir"/usr/share/icons/
}