blob: 22a045946c4110ae201072e16b5fa9545374627d (
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
|
# Maintainer: Neko_Rikka <yjzyl9008 at gmail dot com>
pkgname=python-customtkinter-git
pkgver=r583.10f34d2
pkgrel=2
pkgdesc="A modern and customizable python UI-library based on Tkinter."
arch=('x86_64')
url="https://github.com/TomSchimansky/CustomTkinter"
license=('MIT')
depends=('python'
'tk'
'python-darkdetect'
'python-typing_extensions'
'python-packaging')
provides=('python-customtkinter')
conflicts=('python-customtkinter')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'git')
source=("git+https://github.com/TomSchimansky/CustomTkinter.git")
md5sums=('SKIP')
pkgver() {
cd CustomTkinter
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd CustomTkinter
python -m build --wheel --no-isolation
}
package() {
cd CustomTkinter
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm0644 Readme.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}
|