summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25c494cd82d8607177e628bd706711fff6ca6abd (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-gtksourceview3-git
pkgver=r28.d4f58c5
pkgrel=1
pkgdesc="Tempus themes for GTK3 syntax highlighting"
arch=('any')
url="https://protesilaos.com/tempus-themes"
license=('GPL3')
depends=('gtksourceview3')
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/usr/share/gtksourceview-3.0/styles"
  install -Dm644 *.xml "$pkgdir/usr/share/gtksourceview-3.0/styles"
}