summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bfdc905ac6b2e252c8fd157c5eeb91496d35e6ca (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
# Maintainer: AlphaJack <alphajack at tuta dot io>

pkgname="ttk-themes-breeze-git"
pkgver=r20.cb7dd7f
pkgrel=1
pkgdesc="Tk version of Breeze and Breeze Dark themes"
url="https://github.com/thindil/tkBreeze"
arch=("any")
license=("custom:none")
depends=("tcl" "tk")
optdepends=("ttk-theme-chooser")
conflicts=("ttk-themes" "ttk-themes-breeze")
replaces=("ttk-themes-breeze")
source=("git+$url")
b2sums=("SKIP")
install="ttk-themes-breeze.install"

pkgver(){
 cd "tkBreeze"
 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

package(){
 cd "tkBreeze"
 mkdir -p "$pkgdir/usr/lib/ttkthemes"
 cp -r "breeze"* "$pkgdir/usr/lib/ttkthemes/"
 install -D -m 664 "pkgIndex.tcl" -t "$pkgdir/usr/lib/ttkthemes"
}