blob: 73b50f4d733b494ae31b54c1fbd021cbda46fc51 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Pavel Sibal <entexsoft@gmail.com>
_pkgname=ttkthemes
pkgname=python-ttkthemes-git
pkgver=3.3.0.0.g85c4b53
pkgrel=1
pkgdesc="Group of themes for the ttk extensions for Tkinter (git version)"
arch=('any')
url="https://github.com/TkinterEP/ttkthemes"
license=('GPL3')
depends=(
'python'
'python-pillow'
'tk'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
)
provides=('python-ttkthemes')
conflicts=('python-ttkthemes')
source=("git+https://github.com/TkinterEP/ttkthemes.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
# verze v podobÄ›: 3.3.0.rXX.gHASH
git describe --tags --long 2>/dev/null | sed 's/^v//; s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgname}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|