summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5b7cb5ad84462946527c4e99f278e0def1f444b (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
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Protesilaos Stavrou <info at protesilaos dot com>
pkgname=tempus-themes-kitty-git
pkgver=r11.01d392d
pkgrel=1
pkgdesc="Tempus Themes for the Kitty terminal emulator"
arch=('any')
url="https://protesilaos.com/tempus-themes"
license=('GPL-3.0-or-later')
depends=('kitty')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://gitlab.com/protesilaos/tempus-themes-kitty.git")
sha256sums=('SKIP')

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

package() {
  cd "$srcdir/${pkgname%-git}"
  install -d "$pkgdir/etc/kitty/tempus-themes"
  install -Dm644 *.conf -t "$pkgdir/etc/kitty/tempus-themes/"
}