summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d0ea3ca1e6cc8a2ed69658e4bbde1e53fd5297a (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
# Maintainer: Shatur95 <genaloner@gmail.com>

pkgname=('antu-icon-theme-git')
pkgver=0.8.r3.g4a801b4
pkgrel=1
pkgdesc="A smooth theme designed for Plasma Desktop"
arch=('any')
url="https://github.com/fabianalexisinostroza/Antu-icons"
license=('Creative Commons')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!strip')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')

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

prepare() {
  cd "$srcdir/${pkgname%}"
  rm LICENSE.md
  rm README.md
}


package() {
  install -dm 755 "$pkgdir"/usr/share/icons/Antu
  cp -r ${srcdir}/${pkgname%}/* ${pkgdir}/usr/share/icons/Antu/
}