mirror of
https://github.com/szymon-jozef/zutui.git
synced 2026-09-07 12:10:43 +02:00
Compare commits
6 Commits
pkg/pkgbui
...
deb7433d3e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
deb7433d3e | ||
| 3506d1f5ea | |||
| ec01f9a7da | |||
| 196482f9e2 | |||
| 30b2ef6afd | |||
| 19d6c78fb0 |
31
PKGBUILD
31
PKGBUILD
@@ -1,31 +0,0 @@
|
|||||||
# Maintainer: <szymon_jozef@proton.me>
|
|
||||||
_pkgname="zutui"
|
|
||||||
pkgname="$_pkgname-git"
|
|
||||||
pkgver=1.0.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="TUI for accessing edziekanat of ZUT university"
|
|
||||||
arch=("any")
|
|
||||||
url="https://github.com/shv187/zutui"
|
|
||||||
license=("MIT")
|
|
||||||
depends=("python" "python-keyring" "python-textual")
|
|
||||||
makedepends=("git" "python-build" "python-installer" "python-wheel" "python-setuptools")
|
|
||||||
provides=("zutui")
|
|
||||||
conflicts=("zutui")
|
|
||||||
source=("$_pkgname::git+${url}.git")
|
|
||||||
sha256sums=("SKIP")
|
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$_pkgname"
|
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$_pkgname"
|
|
||||||
python -m build --wheel --no-isolation
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$_pkgname"
|
|
||||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
||||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
|
||||||
22
README.md
22
README.md
@@ -10,31 +10,15 @@
|
|||||||
<img width="100%" height="auto" alt="Grades Page" src="https://github.com/user-attachments/assets/6536c74d-13a5-436e-af3d-5522216ce8c1" />
|
<img width="100%" height="auto" alt="Grades Page" src="https://github.com/user-attachments/assets/6536c74d-13a5-436e-af3d-5522216ce8c1" />
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
## 1. Download:
|
### 1. Download:
|
||||||
### On Windows:
|
|
||||||
```
|
```
|
||||||
pip install git+https://github.com/shv187/zutui.git
|
pip install git+https://github.com/shv187/zutui.git
|
||||||
```
|
```
|
||||||
### Arch Linux:
|
### 2. Start:
|
||||||
You can use PKGBUILD. Just run:
|
|
||||||
```bash
|
|
||||||
makepkg -si
|
|
||||||
```
|
|
||||||
or if you want to, you can use AUR helper of your choice. For example:
|
|
||||||
```bash
|
|
||||||
yay -S zutui-git
|
|
||||||
```
|
|
||||||
### MacOs and other Linux distros:
|
|
||||||
Most distros environments are externally managed by the system package manager, so the most straightforward way would be using something like `pipx`.
|
|
||||||
```bash
|
|
||||||
pipx install git+https://github.com/shv187/zutui.git
|
|
||||||
```
|
|
||||||
|
|
||||||
## 2. Start:
|
|
||||||
```
|
```
|
||||||
zutui
|
zutui
|
||||||
```
|
```
|
||||||
## 3. Enjoy :)
|
### 3. Enjoy :)
|
||||||
|
|
||||||
# Bindings
|
# Bindings
|
||||||
`j` - Down
|
`j` - Down
|
||||||
|
|||||||
Reference in New Issue
Block a user