summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2ba8a2efa1fb3c894a792a6202c1b157b5ee9f9 (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
# Maintainer: Ali Nabipour <alinabipour01@gmail.com>

pkgname=cutefish-icons-git
_pkgname=cutefish-icons
pkgver=0.8.r1.g9b1febc1
pkgrel=1
pkgdesc="System default icon theme of CutefishOS"
arch=('any')
url="https://github.com/cutefishos/icons"
license=('GPL')
groups=('cutefish-git')
depends=()
makedepends=('extra-cmake-modules' 'ninja' 'git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
sha512sums=('SKIP')

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

build() {
  cd icons

  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
  ninja
}

package() {
  cd icons
  DESTDIR="$pkgdir" ninja install
}