summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53a9dac02baafe8200272740176949ac32c4d6ce (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
# Maintainer: Catppuccin <releases@catppuccin.com>

# shellcheck disable=2034,2154
# shellcheck shell=bash

_pkgname=Kvantum
pkgname=kvantum-theme-catppuccin-git
pkgver=r8.c853816
pkgrel=1
pkgdesc="Soothing pastel theme for Kvantum"
arch=('any')
url="https://github.com/catppuccin/$_pkgname"
license=('MIT')
makedepends=('git')
depends=('kvantum')
provides=("catppuccin-kvantum-theme")
source=("git+$url.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname" || exit 1
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$_pkgname/themes" || exit 1
  install -dm755 "$pkgdir/usr/share/Kvantum"
  cp -r catppuccin-* "$pkgdir/usr/share/Kvantum"
}