summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01c913969de9cf6ba559a2605cf3e27eacb2136e (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 tutanota dot com>
# Contributor: Protesilaos Stavrou <info at protesilaos dot com>
pkgname=tempus-themes-kitty-git
pkgver=r10.8fc9563
pkgrel=1
pkgdesc="Tempus Themes for the Kitty terminal emulator"
arch=('any')
url="https://protesilaos.com/tempus-themes"
license=('GPL3')
depends=('kitty')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://gitlab.com/protesilaos/${pkgname%-git}.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 "$pkgdir/etc/kitty/tempus-themes"
}